Freigeben über


SPContentTypeCollection.Item-Eigenschaft (SPContentTypeId)

Ruft den Content-Typ mit dem angegebenen Inhaltstyp Bezeichner (ID).

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As SPContentTypeId _
) As SPContentType
    Get
'Usage
Dim instance As SPContentTypeCollection
Dim id As SPContentTypeId
Dim value As SPContentType

value = instance(id)
public SPContentType this[
    SPContentTypeId id
] { get; }

Parameter

Eigenschaftswert

Typ: Microsoft.SharePoint.SPContentType
Eine SPContentType , die den angegebenen Inhaltstyp darstellt.

Siehe auch

Referenz

SPContentTypeCollection Klasse

SPContentTypeCollection-Member

Item-Überladung

Microsoft.SharePoint-Namespace

Weitere Ressourcen

Content Type IDs

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy