TemplateID Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
NOTE: This API is now obsolete.
(Obsolete) Use OrderGroupId instead. Gets a value that uniquely identifies the current order template.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
<ObsoleteAttribute("Don't use this property; use OrderGroupId instead", _
False)> _
Public ReadOnly Property TemplateID As Guid
'Usage
Dim instance As OrderTemplate
Dim value As Guid
value = instance.TemplateID
[ObsoleteAttribute("Don't use this property; use OrderGroupId instead",
false)]
public Guid TemplateID { get; }
[ObsoleteAttribute(L"Don't use this property; use OrderGroupId instead",
false)]
public:
property Guid TemplateID {
Guid get ();
}
public function get TemplateID () : Guid
Property Value
Type: System..::.Guid
A GUID that uniquely identifies the current order template instance.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The current instance has been disposed, either directly or by conversion to a basket. |
Remarks
TemplateID is generated by the order system.
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.