共用方式為


SPObjectModelTypeCollection.Item property (Type)

集合輸入指定的唯一識別碼所參照的項目。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    type As Type _
) As SPObjectModelType
    Get
'用途
Dim instance As SPObjectModelTypeCollection
Dim type As Type
Dim value As SPObjectModelType

value = instance(type)
public SPObjectModelType this[
    Type type
] { get; }

參數

  • type
    Type: System.Type

    系統類型參照的項目。

Property value

Type: Microsoft.SharePoint.Administration.SPObjectModelType
SPObjectModelType 物件。

請參閱

參照

SPObjectModelTypeCollection class

SPObjectModelTypeCollection members

Item overload

Microsoft.SharePoint.Administration namespace