NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataColumn.Attribute

Gets or sets a value indicating whether the column is an attribute column.

[Visual Basic]
Overridable Public Property Attribute As Boolean
[C#]
public bool Attribute {virtual get; virtual set;}
[C++]
public: __property virtual bool get_Attribute();
public: __property virtual void set_Attribute(bool);
[JScript]
public function get Attribute() : Boolean;
public function set Attribute(Boolean);

Property Value

true, if the column is an attribute column; otherwise, false.

Remarks

The Attribute property specifies whether a DataColumn becomes an HTML attribute when a DataSet is transformed into an XML document. For example, if the Attribute property is set to true, and the column is named "fName," and the value it contains is "Bob," the XML element would be:

<Name fName = 'Bob'/>

See Also

DataColumn Class | DataColumn Members | System.Data Namespace