次の方法で共有


LocalReport.EnableHyperlinks プロパティ

 

発行: 2016年4月

レポートにハイパーリンクのアクションがある場合に表示可能かどうかを示します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

public bool EnableHyperlinks { get; set; }
public:
property bool EnableHyperlinks {
    bool get();
    void set(bool value);
}
member EnableHyperlinks : bool with get, set
Public Property EnableHyperlinks As Boolean

プロパティ値

Type: System.Boolean

Boolean 値。 値 true は、ハイパーリンク アクションが含まれている場合にローカル レポートをレンダリングできることを示します。 既定値は false です。

解説

If this property is set to false, then attempting to render a report that has external images will throw a ReportSecurityException.

重要

Local reports that contain hyperlinks are not allowed to execute by default.Setting this property to true will enable local reports with hyperlinks to execute.This can be a security risk.You should not enable this property on non-trusted reports.

参照

LocalReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る