次の方法で共有


WebPart.IsClosed プロパティ

Gets a value that specifies whether a Web Part is currently closed on a Web Part Page.

名前空間:  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 ReadOnly Property IsClosed As Boolean
    Get
'使用
Dim instance As WebPart
Dim value As Boolean

value = instance.IsClosed
public bool IsClosed { get; }

プロパティ値

型: System.Boolean
Returns Booleantrue if Web Part is currently closed on a Web Part Page; otherwise, returns false.

注釈

If true, the Web Part is closed. Web Parts that are closed must not be displayed on the page, and must not participate normally in the rendering of the page. The default value is false.

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

関連項目

参照先

WebPart クラス

WebPart メンバー

Microsoft.SharePoint.Client.WebParts 名前空間