PersonalizationStateQuery Class
TOC
Collapse the table of content
Expand the table of content

PersonalizationStateQuery Class

 

Represents a set of query parameters that can be passed to a personalization provider using the various get and find methods. This class cannot be inherited.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.UI.WebControls.WebParts.PersonalizationStateQuery

[SerializableAttribute]
public sealed class PersonalizationStateQuery

NameDescription
System_CAPS_pubmethodPersonalizationStateQuery()

Initializes a new instance of the PersonalizationStateQuery class.

NameDescription
System_CAPS_pubpropertyItem[String]

Gets or sets the value of the query parameter.

System_CAPS_pubpropertyPathToMatch

Gets or sets the path to be used for a query.

System_CAPS_pubpropertyUserInactiveSinceDate

Gets or sets the last active date used in a query.

System_CAPS_pubpropertyUsernameToMatch

Gets or sets the user name in a query.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This class is used as a parameter value for various get and find methods of a personalization provider, such as FindState and GetCountOfState. The default indexer allows generic access to the query parameters maintained by this object. The three properties that are explicitly exposed by this class, PathToMatch, UserInactiveSinceDate, and UsernameToMatch, are stored using query key values that are the same as the property names of this class. For more information, see Item.

.NET Framework
Available since 2.0

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

Return to top
Show:
© 2016 Microsoft