Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the view method for the list view.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(FixedId := "validxml", Type := ClientCallableConstraintType.Custom, _
Value := "It MUST be null, or be a valid XML Document according to [XML] where the root XML element conforms to a Method Xml Fragment as specified in [MS-WSSCAP].")> _
Public Property Method As String
Get
Set
'Usage
Dim instance As SPView
Dim value As String
value = instance.Method
instance.Method = value
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(FixedId = "validxml", Type = ClientCallableConstraintType.Custom, Value = "It MUST be null, or be a valid XML Document according to [XML] where the root XML element conforms to a Method Xml Fragment as specified in [MS-WSSCAP].")]
public string Method { get; set; }
Property Value
Type: System.String
String
The method for the view.