共用方式為


SPContentTypeId constructor

初始化使用指定的十六進位字串SPContentTypeId類型的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    id As String _
)
'用途
Dim id As String

Dim instance As New SPContentTypeId(id)
public SPContentTypeId(
    string id
)

參數

Exceptions

Exception Condition
ArgumentException

id是 null 或不正確的格式。

備註

使用此建構函式,重新組成您先前序列化使用ToString()方法的內容識別碼。

請參閱

參照

SPContentTypeId structure

SPContentTypeId members

Microsoft.SharePoint namespace

其他資源

Content Type IDs