Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
When overridden in a derived class, sets the value of the specified custom field.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public MustOverride Sub SetCustomField ( _
fieldName As String, _
value As ULong _
)
'Usage
Dim instance As ItemMetadata
Dim fieldName As String
Dim value As ULong
instance.SetCustomField(fieldName, value)
public abstract void SetCustomField(
string fieldName,
ulong value
)
public:
virtual void SetCustomField(
String^ fieldName,
unsigned long long value
) abstract
abstract SetCustomField :
fieldName:string *
value:uint64 -> unit
public abstract function SetCustomField(
fieldName : String,
value : ulong
)
Parameters
- fieldName
Type: System.String
The name of the custom field.
- value
Type: System.UInt64
The value of the field.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | fieldName is a null reference (Nothing in Visual Basic). |
| ArgumentException | fieldName is 0 length. |
Remarks
Custom fields must be defined in a FieldSchema object when the replica metadata is first initialized.