共用方式為


ISampleData.ShowSampleData Property

Gets or sets a value that indicates whether to show sample data.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Property ShowSampleData As Boolean
    Get
    Set
'Usage
Dim instance As ISampleData
Dim value As Boolean

value = instance.ShowSampleData

instance.ShowSampleData = value
bool ShowSampleData { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

ISampleData Interface

ISampleData Members

Microsoft.SharePoint.WebPartPages Namespace