次の方法で共有


FieldCollection.GetById メソッド

Returns the field object specified by the GUID.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Function GetById ( _
    id As Guid _
) As Field
'使用
Dim instance As FieldCollection
Dim id As Guid
Dim returnValue As Field

returnValue = instance.GetById(id)
public Field GetById(
    Guid id
)

パラメーター

  • id
    型: System.Guid

    An Identifier of the Field object that represents the field.

戻り値

型: Microsoft.SharePoint.Client.Field
Returns Field object specified by the GUID.

例外

例外 条件
[System.ArgumentException]

The field with the specified GUID does not exist in the collection at the given scope. Error code: -2147024809.

関連項目

参照先

FieldCollection クラス

FieldCollection メンバー

Microsoft.SharePoint.Client 名前空間