SPViewCollection.StringToSPViewType 方法

返回指定的字符串的视图类型。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Function StringToSPViewType ( _
    type As String _
) As SPViewCollection.SPViewType
用法
Dim type As String
Dim returnValue As SPViewCollection.SPViewType

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

参数

  • type
    类型:System.String

    一个字符串,包含要转换为视图类型对象的视图类型的名称。

返回值

类型:Microsoft.SharePoint.SPViewCollection.SPViewType
枚举值,指定视图的类型。

另请参阅

引用

SPViewCollection 类

SPViewCollection 成员

Microsoft.SharePoint 命名空间