Share via


del método SPViewCollection.StringToSPViewType

Devuelve un tipo de vista para la cadena especificada.

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
Public Shared Function StringToSPViewType ( _
    type As String _
) As SPViewCollection.SPViewType
'Uso
Dim type As String
Dim returnValue As SPViewCollection.SPViewType

returnValue = SPViewCollection.StringToSPViewType(type)
public static SPViewCollection.SPViewType StringToSPViewType(
    string type
)

Parámetros

  • type
    Tipo: System.String

    Una cadena que contiene el nombre de un tipo de vista para convertir a un objeto de tipo de vista.

Valor devuelto

Tipo: Microsoft.SharePoint.SPViewCollection.SPViewType
Un valor de enumeración que especifica el tipo de vista.

Vea también

Referencia

clase SPViewCollection

Miembros SPViewCollection

Espacio de nombres Microsoft.SharePoint