DataColumnSurrogate Class

Represents a surrogate of a DataColumn object, which Sync Framework uses during custom binary serialization.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DataColumnSurrogate

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataColumnSurrogate
'Usage
Dim instance As DataColumnSurrogate
[SerializableAttribute]
public class DataColumnSurrogate
[SerializableAttribute]
public ref class DataColumnSurrogate
[<SerializableAttribute>]
type DataColumnSurrogate =  class end
public class DataColumnSurrogate

The DataColumnSurrogate type exposes the following members.

Constructors

  Name Description
Public method DataColumnSurrogate Initializes a new instance of the DataColumnSurrogate class.

Top

Properties

  Name Description
Public property ColumnName Gets or sets the name of the column that the DataColumnSurrogate object represents.
Public property DataType Gets or sets the data type of the column that the DataColumnSurrogate object represents.

Top

Methods

  Name Description
Public method ConvertToDataColumn Constructs a DataColumn object based on a DataColumnSurrogate object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This surrogate does not retain all of the properties of the object on which it is based. The only properties it retains are those that are publicly exposed.

Thread Safety

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

See Also

Reference

Microsoft.Synchronization.Data Namespace