初始化 CustomFieldDefinition 类的一个包含字段 ID、字段类型和字段大小的新实例。
命名空间: Microsoft.Synchronization.SimpleProviders
程序集: Microsoft.Synchronization.SimpleProviders(在 microsoft.synchronization.simpleproviders.dll 中)
语法
声明
Public Sub New ( _
fieldId As UInteger, _
fieldType As Type, _
fieldSize As UInteger _
)
用法
Dim fieldId As UInteger
Dim fieldType As Type
Dim fieldSize As UInteger
Dim instance As New CustomFieldDefinition(fieldId, fieldType, fieldSize)
public CustomFieldDefinition (
uint fieldId,
Type fieldType,
uint fieldSize
)
public:
CustomFieldDefinition (
unsigned int fieldId,
Type^ fieldType,
unsigned int fieldSize
)
public CustomFieldDefinition (
UInt32 fieldId,
Type fieldType,
UInt32 fieldSize
)
public function CustomFieldDefinition (
fieldId : uint,
fieldType : Type,
fieldSize : uint
)
参数
- fieldId
字段的整数 ID。
- fieldType
字段的数据类型。有关支持类型列表,请参阅 CustomFieldDefinition。
- fieldSize
与字段相关联的大小,例如它将存储的字符串或字节数组的长度。
请参阅
参考
CustomFieldDefinition 类
CustomFieldDefinition 成员
Microsoft.Synchronization.SimpleProviders 命名空间