AWS SDK for .NET Documentation
Tag Class
AmazonAmazon.EC2.ModelTag Did this page help you?   Yes   No    Tell us about it...
Metadata to associate with Amazon EC2 resources. Each tag consists of a user-defined key and value. Use tags to categorize EC2 resources, such as by purpose, owner, or environment.
Declaration Syntax
C#
public class Tag
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Tag()()()()
Initializes a new instance of the Tag class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetKey()()()()
Checks if Key property is set

IsSetValue()()()()
Checks if Value property is set

Key
The tag's key.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Value
The tag's value.

WithKey(String) Obsolete.
Sets the tag's key.

WithValue(String) Obsolete.
Sets the tag's value.

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)