次の方法で共有


WebPart.Hidden プロパティ

Gets or sets a value that specifies whether a Web Part is displayed 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 Property Hidden As Boolean
    Get
    Set
'使用
Dim instance As WebPart
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
public bool Hidden { get; set; }

プロパティ値

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

注釈

If true, the Web Part must be hidden. Web Parts that are hidden must not be displayed on the page to the end user, but should still participate normally in the rendering of the page. The default value is false.

関連項目

参照先

WebPart クラス

WebPart メンバー

Microsoft.SharePoint.Client.WebParts 名前空間