Condividi tramite


WebPartDefinition.OpenWebPart Method

Opens the Web Part.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub OpenWebPart
'Usage
Dim instance As WebPartDefinition

instance.OpenWebPart()
[RemoteAttribute]
public void OpenWebPart()

Remarks

If the Web Part is already open, this method does nothing. If the current user does not have permissions to modify the Web Part, the server must ignore the call to this method.

CloseWebPart method closes the Web Part. If the Web Part is already closed, this method does nothing. If the current user does not have permissions to modify the Web Part, the server must ignore the call to this method.

See Also

Reference

WebPartDefinition Class

WebPartDefinition Members

Microsoft.SharePoint.Client.WebParts Namespace