次の方法で共有


XmlSchemaElement.Name プロパティ

要素の名前を取得または設定します。

Public Property Name As String
[C#]
public string Name {get; set;}
[C++]
public: __property String* get_Name();public: __property void set_Name(String*);
[JScript]
public function get Name() : String;public function set Name(String);

プロパティ値

要素の名前。既定値は String.Empty です。

解説

名前は、W3C (World Wide Web Consortium) の XML 名前空間の仕様で定義された NCName (コロンが含まれていない名前) である必要があります。Name 属性と RefName 属性は同時には指定できません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

XmlSchemaElement クラス | XmlSchemaElement メンバ | System.Xml.Schema 名前空間