File.GetContentVerFromTag 方法
僅保留供內部使用。此方法會公開 ContentTag 內部的 ContentVersion 值。
命名空間: 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 Shared Function GetContentVerFromTag ( _
context As ClientRuntimeContext, _
contentTag As String _
) As ClientResult(Of Integer)
'用途
Dim context As ClientRuntimeContext
Dim contentTag As String
Dim returnValue As ClientResult(Of Integer)
returnValue = File.GetContentVerFromTag(context, _
contentTag)
public static ClientResult<int> GetContentVerFromTag(
ClientRuntimeContext context,
string contentTag
)
參數
contentTag
類型:System.String指定將會取得 ContentVersion ContentTag。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Int32>