次の方法で共有


WebPartDefinition.CloseWebPart メソッド

Closes the Web Part.

名前空間:  Microsoft.SharePoint.Client.WebParts
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Sub CloseWebPart
'使用
Dim instance As WebPartDefinition

instance.CloseWebPart()
public void CloseWebPart()

注釈

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.

OpenWebPart method opens the Web Part. 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.

関連項目

参照先

WebPartDefinition クラス

WebPartDefinition メンバー

Microsoft.SharePoint.Client.WebParts 名前空間