SPViewCollection.StringToSPViewType-Methode
Gibt den Ansichtstyp für die angegebene Zeichenfolge zurück.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function StringToSPViewType ( _
type As String _
) As SPViewCollection.SPViewType
'Usage
Dim type As String
Dim returnValue As SPViewCollection.SPViewType
returnValue = SPViewCollection.StringToSPViewType(type)
public static SPViewCollection.SPViewType StringToSPViewType(
string type
)
Parameter
type
Typ: System.StringEine Zeichenfolge mit dem Namen eines Typs anzeigen, um in einem View-Objekt vom Typ zu konvertieren.
Rückgabewert
Typ: Microsoft.SharePoint.SPViewCollection.SPViewType
Ein Enumerationswert, der den Typ der Ansicht angibt.