AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Metadata assigned to a directory consisting of a key-value pair.

Inheritance Hierarchy

System.Object
  Amazon.DirectoryService.Model.Tag

Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z

Syntax

C#
public class Tag

The Tag type exposes the following members

Constructors

NameDescription
Public Method Tag()

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

Required name of the tag. The string value can be Unicode characters and cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

Public Property Value System.String

Gets and sets the property Value.

The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5