Share via


File.GetContentVerFromTag method

Reserved for internal use only. This method exposes the internal ContentVersion value inside of a ContentTag.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function GetContentVerFromTag ( _
    context As ClientRuntimeContext, _
    contentTag As String _
) As ClientResult(Of Integer)
'Usage
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
)

Parameters

  • contentTag
    Type: System.String

    Specifies the ContentTag from which the ContentVersion will be obtained.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Int32>

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace