InternalXmlHelper.CreateNamespaceAttribute(XName, XNamespace) Método
Definição
Cria um atributo XML que tem os valores de namespace e nome fornecidos.Creates an XML attribute that has the supplied name and namespace value. Esse método não deve ser usado do seu código.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
Parâmetros
- name
- XName
O nome do atributo XML a ser criado.The name of the XML attribute to create.
- ns
- XNamespace
O valor de namespace a ser atribuído ao atributo XML criado.The namespace value to assign to the created XML attribute.
Retornos
Um objeto XAttribute que tem os valores de nome e namespace fornecidos.An XAttribute object that has the supplied name and namespace value.