Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stores sample XML data used to render the control when live data cannot or should not be used.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared, True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<ResourcesAttribute("DataViewWebPartSampleDataLiteral", "Miscellaneous", _
"DataViewWebPartSampleDataDescription")> _
Public Property SampleData As String
Get
Set
'Usage
Dim instance As DataFormWebPart
Dim value As String
value = instance.SampleData
instance.SampleData = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared, true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ResourcesAttribute("DataViewWebPartSampleDataLiteral", "Miscellaneous",
"DataViewWebPartSampleDataDescription")]
public string SampleData { get; set; }
Property Value
Type: System.String