Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the field object specified by the GUID.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function GetById ( _
id As Guid _
) As Field
'Usage
Dim instance As FieldCollection
Dim id As Guid
Dim returnValue As Field
returnValue = instance.GetById(id)
[RemoteAttribute]
public Field GetById(
Guid id
)
Parameters
id
Type: System.GuidAn Identifier of the Field object that represents the field.
Return Value
Type: Microsoft.SharePoint.Client.Field
Returns Field object specified by the GUID.
Exceptions
Exception | Condition |
---|---|
[System.ArgumentException] | The field with the specified GUID does not exist in the collection at the given scope. Error code: -2147024809. |