zurück
Autor: Thomas Hauser
Erstellt am: 07 Jul 2008 14:42

AW: SPFileCollection gefiltert

Hi,

am besten aufgrund einer View sortieren. Das heißt, eine View anlegen und dann wie z. B. :

SPSite site = new SPSite("http://ppedv-moss");
SPDocumentLibrary lib = site.RootWeb.Lists["Vertragsdokumente"] as SPDocumentLibrary;
if (lib != null)
{
foreach (SPListItem item in lib.GetItems(lib.DefaultView))
{
Console.WriteLine(item.File.Name);
}
}

Grüße,

Thomas Hauser

Sharepoint



Beiträge:

TitelDatumVornameNachname
SPFileCollection gefiltert07.07.2008 11:25MartinMostögl
AW: SPFileCollection gefiltert07.07.2008 02:42ThomasHauser
AW: SPFileCollection gefiltert07.07.2008 02:42ThomasHauser
AW: AW: SPFileCollection gefiltert08.07.2008 08:27MartinMostögl
AW: AW: SPFileCollection gefiltert08.07.2008 08:27MartinMostögl
AW: AW: AW: SPFileCollection gefiltert08.07.2008 09:56ThomasHauser




© Copyright 2008 ppedv AG