Represents 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.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Tag
Public Class Tag
public ref class Tag

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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
Gets and sets the Key property. The tag's key.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Value
Gets and sets the Value property. The tag's value.
WithKey(String)
Sets the Key property
WithValue(String)
Sets the Value property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..Tag

See Also