ProductId Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the identifier for the product.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property ProductId As String
'Usage
Dim instance As BasketEvent
Dim value As String
value = instance.ProductId
instance.ProductId = value
public string ProductId { get; set; }
public:
property String^ ProductId {
String^ get ();
void set (String^ value);
}
public function get ProductId () : String
public function set ProductId (value : String)
Property Value
Type: System..::.String
The name of the product identifier for the product. Default value is nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
Stores the identifier for the product. This property must be set for a valid event.
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.