Share via


SearchTokenExpansionContext members

Represents the context used for a SearchTokenExpansion object.

The SearchTokenExpansionContext type exposes the following members.

Constructors

  Name Description
Public method SearchTokenExpansionContext Initializes a new instance of a SearchTokenExpansionContext object.

Top

Properties

  Name Description
Public propertyStatic member Current Gets a new SearchTokenExpansionContext object by using information from the current SPContext object.
Public property List Gets the SPList object of the current context.
Public property ListItem Gets the SPListItem object of the current context.
Public property Term Gets the Term object of the current context.
Public property Url Gets the URL of the current context.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetContextFromQueryProperties Creates a new SearchTokenExpansionContext object that is based on information in a QueryProperties object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member TokenExpansionListIdName
Public fieldStatic member TokenExpansionListItemIdName
Public fieldStatic member TokenExpansionTermIdName
Public fieldStatic member TokenExpansionTermSetIdName
Public fieldStatic member TokenExpansionTermStoreIdName

Top

See also

Reference

SearchTokenExpansionContext class

Microsoft.SharePoint.Publishing namespace