C# Class Glyma.UtilityService.SharePoint.SPWebExtensions

Afficher le fichier Open project: chris-tomich/Glyma

Méthodes publiques

Méthode Description
GetServerRelativeListUrlPrefix ( this site ) : string

Returns the server relative URL prefix for lists within a site.

TryGetList ( this site, string serverRelativeUrl ) : SPList

Return a reference to a list within the site using its server-relative URL.

Method Details

GetServerRelativeListUrlPrefix() public static méthode

Returns the server relative URL prefix for lists within a site.
public static GetServerRelativeListUrlPrefix ( this site ) : string
site this The site to use.
Résultat string

TryGetList() public static méthode

Return a reference to a list within the site using its server-relative URL.
public static TryGetList ( this site, string serverRelativeUrl ) : SPList
site this The site to retrieve the list from.
serverRelativeUrl string The server relative URL of the list.
Résultat SPList