Visual Basic (Declaration) | |
---|---|
<DataMemberAttribute()> Public Property Tag As Object |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SaveOptions Dim value As Object instance.Tag = value value = instance.Tag |
C# | |
---|---|
[DataMemberAttribute()] public object Tag {get; set;} |
C++/CLI | |
---|---|
[DataMemberAttribute()] public: property Object^ Tag { Object^ get(); void set ( Object^ value); } |
The 'type' of the value that is set here must either be a primitive type or must be declared with the IKnownType interface or via an implementation of the IKnownTypeProvider interface.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family