Dela via


DataColumnSurrogate.ColumnName Property

Gets or sets the name 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 ColumnName As String
    Get
    Set
'Usage
Dim instance As DataColumnSurrogate
Dim value As String

value = instance.ColumnName

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

Property Value

Type: System.String
The name of the column.

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentException

value is empty.

See Also

Reference

DataColumnSurrogate Class

Microsoft.Synchronization.Data Namespace