Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets properties of the profile 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 ProfileTicket
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
- propertyName
Type: System..::.String
The name of the property to set or retrieve.
Property Value
Type: System..::.String
The value of the propertyName property.
Exceptions
Exception | Condition |
---|---|
CommerceAuthenticationFailedDecryptionException | The property could not be obtained or set. |
CommerceAuthenticationException | The property could not be obtained or set. |
Remarks
Stores a property of the profile ticket array.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.