View.Method - Propriété
Gets or sets a value that specifies the view method for the list view.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property Method As String
Get
Set
'Utilisation
Dim instance As View
Dim value As String
value = instance.Method
instance.Method = value
public string Method { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing the view method for the list view.
Exceptions
Exception | Condition |
---|---|
SPException | Method or Filter element has an empty Name attribute. Error code: -2146232832. |
Remarques
It must be une référence Null (Rien dans Visual Basic) or an XML Document where the root element is a valid Method XML Fragment.