Partager via


Id Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the Id for the current DisplayTemplate object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property Id As Integer
'Usage
Dim instance As DisplayTemplate
Dim value As Integer

value = instance.Id
public int Id { get; }
public:
property int Id {
    int get ();
}
public function get Id () : int

Property Value

Type: System..::.Int32
The Id for the current instance. Returns 0 if the DisplayTemplate has not yet been committed to persistent storage.

Remarks

Contains the unique identifier of this DisplayTemplate object. it will be 0 until the object is saved for the first time, then it will be assigned a value

Permissions

See Also

Reference

DisplayTemplate Class

DisplayTemplate Members

Microsoft.CommerceServer.Marketing Namespace