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
id
Typ: Microsoft.SharePoint.SPContentTypeIdDer Inhaltstyp-ID des Inhaltstyps.
Eigenschaftswert
Typ: Microsoft.SharePoint.SPContentType
Eine SPContentType , die den angegebenen Inhaltstyp darstellt.
Siehe auch
Referenz
SPContentTypeCollection Klasse
SPContentTypeCollection-Member
Microsoft.SharePoint-Namespace