Share via


ItemField Constructor

Initializes a new instance of the ItemField class that contains a field ID, a field type, and a metadata value for the field.

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

Syntax

'Declaration
Public Sub New ( _
    fieldId As UInteger, _
    fieldType As Type, _
    value As Object _
)
'Usage
Dim fieldId As UInteger
Dim fieldType As Type
Dim value As Object

Dim instance As New ItemField(fieldId, _
    fieldType, value)
public ItemField(
    uint fieldId,
    Type fieldType,
    Object value
)
public:
ItemField(
    unsigned int fieldId, 
    Type^ fieldType, 
    Object^ value
)
new : 
        fieldId:uint32 * 
        fieldType:Type * 
        value:Object -> ItemField
public function ItemField(
    fieldId : uint, 
    fieldType : Type, 
    value : Object
)

Parameters

  • fieldType
    Type: System.Type
    The data type of the field.
  • value
    Type: System.Object
    The metadata value that is stored in the item field.

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ItemField Class

Microsoft.Synchronization.SimpleProviders Namespace