Share via


SPView.Method property

Gets or sets the view method for the list view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Method As String
    Get
    Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.Method

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

Property value

Type: System.String
String
The method for the view.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace