←Select platform

Tag Property

Summary

Gets or sets a user-defined data object that is associated with this object.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public object Tag { get; set; } 
Public Property Tag As Object 
public object Tag {get; set;} 
@property (nonatomic,retain) NSObject * tag 
public Object getTag() 
public void setTag(Object tag) 
             
  
get_Tag(); 
set_Tag(value); 
Object.defineProperty('Tag');  
public:  
   property Object^ Tag 
   { 
      Object^ get() 
      void set(Object^ value) 
   } 

Property Value

The user-defined data. The default value is null.

Remarks

The tag is any value that is not used by the LEADTOOLS Annotation toolkit. However, you can use the tag value to store any value you want. For example, you can use it store an index that links this AnnObject to other collections in your program.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly