共用方式為


ViewCreationInformation.SetAsDefaultView Property

Gets or sets a value that specifies whether the new list view is the default list view.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property SetAsDefaultView As Boolean
    Get
    Set
'Usage
Dim instance As ViewCreationInformation
Dim value As Boolean

value = instance.SetAsDefaultView

instance.SetAsDefaultView = value
[RemoteAttribute]
public bool SetAsDefaultView { get; set; }

Property Value

Type: System.Boolean
Returns Booleantrue if the the new list view is the default list view.; otherwise, returns false. The default value is.

See Also

Reference

ViewCreationInformation Class

ViewCreationInformation Members

Microsoft.SharePoint.Client Namespace