Visual Basic (Declaration) | |
---|---|
Public Overridable Property Id As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual int Id {get; set;} |
XAML Attributes Usage | |
---|---|
<object Id=int .../> |
XAML Attributes Usage | |
---|---|
<object Id=int .../> |
Return Value
The id of this AnnAutomationObject.For C#/VB examples, refer to AnnAutomationManager.
Each automation object must have an object id that is a unique integer value. The AnnAutomationManager class defines the object ids for the default annotation objects such as LineObjectId and RectangleObjectId. For user-defined objects, use UserObjectId first then add 1 to this value for each new user object.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family