View.Method 属性

Gets or sets a value that specifies the view method for the list view.

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

语法

声明
Public Property Method As String
    Get
    Set
用法
Dim instance As View
Dim value As String

value = instance.Method

instance.Method = value
public string Method { get; set; }

属性值

类型:System.String
Returns a String instance representing the view method for the list view.

异常

异常 条件
SPException

Method or Filter element has an empty Name attribute. Error code: -2146232832.

备注

It must be 空引用(无 在 Visual Basic 中) or an XML Document where the root element is a valid Method XML Fragment.

另请参阅

引用

View 类

View 成员

Microsoft.SharePoint.Client 命名空间