Prefix Property

DataColumn.Prefix Property

Gets or sets an XML prefix that aliases the namespace of the DataTable.

[Visual Basic]
Public Property Prefix As String
public string Prefix {get; set;}
public: __property String* get_Prefix();
public: __property void set_Prefix(String*);
public function get Prefix() : String;
public function set Prefix(String);

Property Value

The XML prefix for the DataTable namespace.


The Prefix is used throughout an XML document to identify elements which belong to the DataSet object's namespace (as set by the Namespace property).


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataColumn Class | DataColumn Members | System.Data Namespace

© 2016 Microsoft