共用方式為


SPContentType.Version property

取得內容型別版本。

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

Syntax

'宣告
Public ReadOnly Property Version As Integer
    Get
'用途
Dim instance As SPContentType
Dim value As Integer

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

Property value

Type: System.Int32
整數,表示內容的型別版本。

請參閱

參照

SPContentType class

SPContentType members

Microsoft.SharePoint namespace

其他資源

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy