XmlSchemaElement.Name Proprietà

Definizione

Ottiene o imposta il nome dell'elemento.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string? Name { get; set; }
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Valore della proprietà

Il nome dell'elemento. Il valore predefinito è String.Empty.

Commenti

Il nome deve essere un NCName (no-colon name) come definito nella specifica W3C (World Wide Web Consortium) XML Namespaces. Name gli attributi e RefName si escludono a vicenda.

Si applica a