SPFile.WebParts Property (Microsoft.SharePoint.Publishing.Internal.Administration.Schema)
Namespace: Microsoft.SharePoint.Publishing.Internal.Administration.Schema
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Syntax
'Declaration
<XmlArrayItemAttribute("WebPart", IsNullable:=False)> _
Public Property WebParts As SPWebPart()
'Usage
Dim instance As SPFile
Dim value As SPWebPart()
value = instance.WebParts
instance.WebParts = value
[XmlArrayItemAttribute("WebPart", IsNullable=false)]
public SPWebPart[] WebParts { get; set; }
See Also
Reference
SPFile Class
SPFile Members
Microsoft.SharePoint.Publishing.Internal.Administration.Schema Namespace