UrlSegmentAliasMapAttribute class

SharePoint 2013

Represents an attribute that specifies the URL segment alias.


Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.ServerRuntime (in Microsoft.SharePoint.Client.ServerRuntime.dll)

[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class UrlSegmentAliasMapAttribute : Attribute

For example, UrlSegmentAliasMapAttribute could be used to specify "web" as a URL segment alias for "SP.RequestContext.Current/Web".

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.