XmlAttribute(String, String, String, XmlDocument) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlAttribute class.
protected public:
XmlAttribute(System::String ^ prefix, System::String ^ localName, System::String ^ namespaceURI, System::Xml::XmlDocument ^ doc);
protected internal XmlAttribute (string prefix, string localName, string namespaceURI, System.Xml.XmlDocument doc);
protected internal XmlAttribute (string? prefix, string localName, string? namespaceURI, System.Xml.XmlDocument doc);
new System.Xml.XmlAttribute : string * string * string * System.Xml.XmlDocument -> System.Xml.XmlAttribute
Protected Friend Sub New (prefix As String, localName As String, namespaceURI As String, doc As XmlDocument)
Parameters
- prefix
- String
The namespace prefix.
- localName
- String
The local name of the attribute.
- namespaceURI
- String
The namespace uniform resource identifier (URI).
- doc
- XmlDocument
The parent XML document.
Remarks
Do not instantiate an XmlAttribute directly; instead, use methods such as CreateAttribute.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET