IManipulator.Id 屬性

定義

取得或設定物件的唯一識別項。Gets or sets a unique identifier for the object.

public:
 property int Id { int get(); };
public int Id { get; }
member this.Id : int
Public ReadOnly Property Id As Integer

屬性值

Int32

物件的唯一識別項。A unique identifier for the object.

備註

Id針對特定類型的每個物件,屬性應該是唯一的。The Id property should be unique for each object of a certain type. 例如,如果 Manipulator1 型別和 Manipulator2 實行 IManipulator ,型別的所有物件都 Maniplulator1 必須有唯一的 Id 值,但是類型的物件可能與 Manipulator1 類型的物件相同 Id Manipulator2For example, if the types Manipulator1 and Manipulator2 implement IManipulator, all of the objects of type Maniplulator1 must have unique Id values, but an object of type Manipulator1 might have the same Id as an object of type Manipulator2.

適用於