Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
When overridden in a derived class, gets the value of the specified custom field.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public MustOverride Function GetGuidField ( _
fieldName As String _
) As Nullable(Of Guid)
'Usage
Dim instance As ItemMetadata
Dim fieldName As String
Dim returnValue As Nullable(Of Guid)
returnValue = instance.GetGuidField(fieldName)
public abstract Nullable<Guid> GetGuidField(
string fieldName
)
public:
virtual Nullable<Guid> GetGuidField(
String^ fieldName
) abstract
abstract GetGuidField :
fieldName:string -> Nullable<Guid>
public abstract function GetGuidField(
fieldName : String
) : Nullable<Guid>
Parameters
- fieldName
Type: System.String
The name of the custom field.
Return Value
Type: System.Nullable<Guid>
The value of the specified custom field. Returns a null reference (Nothing in Visual Basic) when the field value has not been set.
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.