次の方法で共有


Term.GetDefaultLabel メソッド

この LCID に基づいてTerm既定Labelを取得します。

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

構文

'宣言
Public Function GetDefaultLabel ( _
    lcid As Integer _
) As ClientResult(Of String)
'使用
Dim instance As Term
Dim lcid As Integer
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetDefaultLabel(lcid)
public ClientResult<string> GetDefaultLabel(
    int lcid
)

パラメーター

  • lcid
    型: System.Int32

    LCID、既定のラベルに関連付けられています。

戻り値

型: Microsoft.SharePoint.Client.ClientResult<String>
既定のLabelまたは LCID の既定Labelがない場合に空の文字列の名前。

例外

例外 条件
ArgumentOutOfRangeException

LCID が正しくありません。

関連項目

参照先

Term クラス

Term メンバー

Microsoft.SharePoint.Client.Taxonomy 名前空間