Share via


Item Property

Gets and sets the properties on an authentication ticket by name.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Property Item ( _
    propertyName As String _
) As String
'Usage
Dim instance As AuthTicket
Dim propertyName As String
Dim value As String

value = instance.Item(propertyName)

instance.Item(propertyName) = value
public override string Item[
    string propertyName
] { get; set; }
public:
virtual property String^ Item[String^ propertyName] {
    String^ get (String^ propertyName) override;
    void set (String^ propertyName, String^ value) override;
}
JScript does not support indexed properties.

Parameters

Property Value

Type: System..::.String
The name of the property.

Exceptions

Exception Condition
CommerceAuthenticationFailedDecryptionException

The property could not be obtained or set.

CommerceAuthenticationException

The property could not be obtained or set.

Remarks

The Item property is a read/write indexer that sets and retrieves the properties on an authentication ticket.

Permissions

See Also

Reference

AuthTicket Class

AuthTicket Members

Microsoft.CommerceServer.Runtime Namespace