DataColumn.Namespace Propriedade
Definição
Obtém ou define o namespace do DataColumn.Gets or sets the namespace of the DataColumn.
public:
property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
public string Namespace { get; set; }
[System.Data.DataSysDescription("DataColumnNamespaceDescr")]
public string Namespace { get; set; }
member this.Namespace : string with get, set
[<System.Data.DataSysDescription("DataColumnNamespaceDescr")>]
member this.Namespace : string with get, set
Public Property Namespace As String
Valor da propriedade
O namespace do DataColumn.The namespace of the DataColumn.
- Atributos
Exceções
O namespace já tem dados.The namespace already has data.
Comentários
A Namespace propriedade é usada ao ler e gravar um documento XML em um DataTable no DataSet usando os ReadXml métodos, WriteXml , ReadXmlSchema ou WriteXmlSchema .The Namespace property is used when reading and writing an XML document into a DataTable in the DataSet using the ReadXml, WriteXml, ReadXmlSchema, or WriteXmlSchema methods.
O namespace de um documento XML é usado para delimitar elementos e atributos XML quando lidos em um DataSet .The namespace of an XML document is used to scope XML attributes and elements when read into a DataSet. Por exemplo, um DataSet contém um esquema de leitura de um documento que tem o namespace "myCompany" e uma tentativa é feita para ler dados (com o ReadXml método) de um documento que tem o namespace "theirCompany".For example, a DataSet contains a schema read from a document that has the namespace "myCompany," and an attempt is made to read data (with the ReadXml method) from a document that has the namespace "theirCompany." Todos os dados que não correspondem ao esquema existente serão ignorados.Any data that does not correspond to the existing schema will be ignored.