SPContentTypeCollection.Item-Eigenschaft (String)
Ruft den Inhaltstyp mit dem angegebenen Namen ab.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As SPContentType
Get
'Usage
Dim instance As SPContentTypeCollection
Dim name As String
Dim value As SPContentType
value = instance(name)
public SPContentType this[
string name
] { get; }
Parameter
name
Typ: System.StringDer Name des Inhaltstyps.
Eigenschaftswert
Typ: Microsoft.SharePoint.SPContentType
Eine SPContentType , die den angegebenen Inhaltstyp darstellt.
Siehe auch
Referenz
SPContentTypeCollection Klasse
SPContentTypeCollection-Member
Microsoft.SharePoint-Namespace