WebPartContextualInfo.PageComponentId Property

Gets or sets the client page component identifier of the Web Part.

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

Syntax

'Declaration
Public Property PageComponentId As String
    Get
    Set
'Usage
Dim instance As WebPartContextualInfo
Dim value As String

value = instance.PageComponentId

instance.PageComponentId = value
public string PageComponentId { get; set; }

Property Value

Type: System.String
The component identifier of the Web Part.

Remarks

When this property is a null reference (Nothing in Visual Basic) or Empty, the page component of the Web Part uses the standard identifier returned by the GetWebPartPageComponentId(WebPart) method.

See Also

Reference

WebPartContextualInfo Class

WebPartContextualInfo Members

Microsoft.SharePoint.WebControls Namespace