次の方法で共有


SPContentType.Version property

Gets the version of the content type.

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

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