Share via


SPObjectModelTypeCollection.Item property (Guid)

A collection type item referenced by the given unique identifier.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    typeId As Guid _
) As SPObjectModelType
    Get
'Usage
Dim instance As SPObjectModelTypeCollection
Dim typeId As Guid
Dim value As SPObjectModelType

value = instance.Item(typeId)
public SPObjectModelType this[
    Guid typeId
] { get; }

Parameters

  • typeId
    Type: System.Guid

    A unique identifier of the collection item.

Property value

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

See also

Reference

SPObjectModelTypeCollection class

SPObjectModelTypeCollection members

Item overload

Microsoft.SharePoint.Administration namespace