Export (0) Print
Expand All

XmlSchemaAnnotated.Id Property

Gets or sets the string id.

Namespace:  System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public string Id { get; set; }

Property Value

Type: System.String
The string id. The default is String.Empty.

The id value must be of type ID and be unique within the document containing this element.


.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
© 2015 Microsoft