Partager via


View.DefaultViewForContentType - Propriété

Gets or sets a value that specifies whether the list view is the default list view for the content type specified by ContentTypeId.

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 DefaultViewForContentType As Boolean
    Get
    Set
'Utilisation
Dim instance As View
Dim value As Boolean

value = instance.DefaultViewForContentType

instance.DefaultViewForContentType = value
public bool DefaultViewForContentType { get; set; }

Valeur de propriété

Type : System.Boolean
Returns Booleantrue if the list view is the default list view for the content type specified by ContentTypeId otherwise returns false. The default value is

Voir aussi

Référence

View classe

View - Membres

Microsoft.SharePoint.Client - Espace de noms