DesignerDataColumn Class

 

Represents a column of a table or view in the data store accessed through a data connection. This class cannot be inherited.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

System::Object
  System.ComponentModel.Design.Data::DesignerDataColumn

public ref class DesignerDataColumn sealed 

NameDescription
System_CAPS_pubmethodDesignerDataColumn(String^, DbType)

Initializes a new instance of the DesignerDataColumn class with the specified name and data type.

System_CAPS_pubmethodDesignerDataColumn(String^, DbType, Object^)

Initializes a new instance of the DesignerDataColumn class with the specified name, data type, and default value.

System_CAPS_pubmethodDesignerDataColumn(String^, DbType, Object^, Boolean, Boolean, Boolean, Int32, Int32, Int32)

Initializes a new instance of the DesignerDataColumn class with the specified values.

NameDescription
System_CAPS_pubpropertyDataType

Gets the data type of the data column.

System_CAPS_pubpropertyDefaultValue

Gets the default value of the data column.

System_CAPS_pubpropertyIdentity

Gets a value indicating whether the data column is an identity column for the data row.

System_CAPS_pubpropertyLength

Gets the length in bytes of the data column.

System_CAPS_pubpropertyName

Gets the name of the column in the data store.

System_CAPS_pubpropertyNullable

Gets a value indicating whether the column can be null in the data store.

System_CAPS_pubpropertyPrecision

Gets the number of digits in a numeric data column.

System_CAPS_pubpropertyPrimaryKey

Gets a value indicating whether the column is part of the table's primary key.

System_CAPS_pubpropertyScale

Gets the number of digits to the right of the decimal point in a numeric column.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The DesignerDataColumn class is one of several types that represent the schema of a data store at design-time. These schema items are made available to controls by designers implementing the IDataEnvironment interface. Controls access schema objects by calling the GetConnectionSchema method of the interface.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: