Partilhar via


SPContentType.Version Property

Gets the version of the content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Version As Integer
    Get
'Usage
Dim instance As SPContentType
Dim value As Integer

value = instance.Version
public int Version { get; }

Property Value

Type: System.Int32
An integer that indicates the content type version.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

Other Resources

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy