Freigeben über


SPContentTypeCollection.Item-Eigenschaft (Int32)

Ruft den Inhaltstyp am angegebenen Index in der Auflistung ab.

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

Syntax

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

value = instance(index)
public SPContentType this[
    int index
] { get; }

Parameter

  • index
    Typ: System.Int32

    Der Index des Inhaltstyps in der Auflistung.

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

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy