File.GetContentVerFromTag - Méthode
Reserved for internal use only. This method exposes the internal ContentVersion value inside of a ContentTag.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Function GetContentVerFromTag ( _
context As ClientRuntimeContext, _
contentTag As String _
) As ClientResult(Of Integer)
'Utilisation
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
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
contentTag
Type : System.StringSpecifies the ContentTag from which the ContentVersion will be obtained.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<Int32>