InternalXmlHelper.CreateNamespaceAttribute(XName, XNamespace) Method
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.
Creates an XML attribute that has the supplied name and namespace value. This method is not intended to be used from your code.
public:
static System::Xml::Linq::XAttribute ^ CreateNamespaceAttribute(System::Xml::Linq::XName ^ name, System::Xml::Linq::XNamespace ^ ns);
public static System.Xml.Linq.XAttribute CreateNamespaceAttribute (System.Xml.Linq.XName name, System.Xml.Linq.XNamespace ns);
static member CreateNamespaceAttribute : System.Xml.Linq.XName * System.Xml.Linq.XNamespace -> System.Xml.Linq.XAttribute
Public Shared Function CreateNamespaceAttribute (name As XName, ns As XNamespace) As XAttribute
Parameters
- name
- XName
The name of the XML attribute to create.
- ns
- XNamespace
The namespace value to assign to the created XML attribute.
Returns
An XAttribute object that has the supplied name and namespace value.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.