共用方式為


SPObjectModelTypeCollection.Item Property (Type)

A collection type item referenced by the given unique identifier.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    type As Type _
) As SPObjectModelType
    Get
'Usage
Dim instance As SPObjectModelTypeCollection
Dim type As Type
Dim value As SPObjectModelType

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

Parameters

  • type
    Type: System.Type

    A System type reference to the item.

Property Value

Type: Microsoft.SharePoint.Administration.SPObjectModelType
A SPObjectModelType object.

See Also

Reference

SPObjectModelTypeCollection Class

SPObjectModelTypeCollection Members

Item Overload

Microsoft.SharePoint.Administration Namespace