共用方式為


ReportParameterInfo.Visible 屬性

決定參數是否能顯示在使用者介面中。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public Property Visible As Boolean
    Get
    Friend Set
'用途
Dim instance As ReportParameterInfo
Dim value As Boolean

value = instance.Visible
public bool Visible { get; internal set; }
public:
property bool Visible {
    bool get ();
    internal: void set (bool value);
}
member Visible : bool with get, internal set
function get Visible () : boolean
internal function set Visible (value : boolean)

屬性值

型別:System.Boolean
Boolean 值。

備註

如果 Visible 設為 false,便會覆寫 PromptUser 屬性。

如果 Visible 設為 true,且 PromptUser 也設為 true,就會在使用者介面中顯示提示。

請參閱

參考

ReportParameterInfo 類別

Microsoft.Reporting.WebForms 命名空間