Share via


DataColumnSurrogate.DataType Property

Gets or sets the data type of the column that the DataColumnSurrogate object represents.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property DataType As Type
    Get
    Set
'Usage
Dim instance As DataColumnSurrogate
Dim value As Type

value = instance.DataType

instance.DataType = value
public Type DataType { get; set; }
public:
property Type^ DataType {
    Type^ get ();
    void set (Type^ value);
}
member DataType : Type with get, set
function get DataType () : Type
function set DataType (value : Type)

Property Value

Type: System.Type
The data type of the column.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

See Also

Reference

DataColumnSurrogate Class

Microsoft.Synchronization.Data Namespace