Freigeben über


Id Property

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

Gets the Id of the DisplayProperty 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 DisplayProperty
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
Id of the current instance. Returns 0 if the DisplayProperty has not been saved to the database yet.

Remarks

When the DisplayProperty object is saved for the first time, the Id property is assigned a value.

Permissions

See Also

Reference

DisplayProperty Class

DisplayProperty Members

Microsoft.CommerceServer.Marketing Namespace