次の方法で共有


ReportViewer クラス

ReportViewer コントロールに使用するメソッドとプロパティをカプセル化します。

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

構文

'宣言
<DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", GetType(IDesigner))> _
<SRDescriptionAttribute("ReportViewerDescription")> _
<DockingAttribute(DockingBehavior.Ask)> _
Public Class ReportViewer
    Inherits UserControl
'使用
Dim instance As ReportViewer
[DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))] 
[SRDescriptionAttribute("ReportViewerDescription")] 
[DockingAttribute(DockingBehavior.Ask)] 
public class ReportViewer : UserControl
[DesignerAttribute(L"Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))] 
[DockingAttribute(DockingBehavior::Ask)] 
public ref class ReportViewer : public UserControl
/** @attribute DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner) */ 
/** @attribute SRDescriptionAttribute("ReportViewerDescription") */ 
/** @attribute DockingAttribute(DockingBehavior.Ask) */ 
public class ReportViewer extends UserControl
DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner) 
SRDescriptionAttribute("ReportViewerDescription") 
DockingAttribute(DockingBehavior.Ask) 
public class ReportViewer extends UserControl

解説

このコントロールは、レポートおよびレポートに関連付けられているユーザー インターフェイスを表示します。コントロールのデザイン時には、パラメータ エリア、空白の見出しマップ、ツール バー、およびレポート領域を表示できます。

このコントロールは、ローカルまたはリモートの処理モードで動作します。ローカル処理モードで、コントロールはレポートをローカルで処理し、表示します。リモート処理モードでは、処理がレポート サーバーで行われ、ローカルで表示されます。リモート処理モードには、レポート サーバーの Microsoft SQL Server 2005 インスタンスが必要です。

継承階層

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Windows.Forms.Control
         System.Windows.Forms.ScrollableControl
           System.Windows.Forms.ContainerControl
             System.Windows.Forms.UserControl
              Microsoft.Reporting.WinForms.ReportViewer

スレッド セーフ

この型のすべてのパブリックな静的 (Visual Basic では Shared) メンバは、スレッド セーフです。すべてのインスタンス メンバが、スレッド セーフであることは保証されていません。

参照

リファレンス

ReportViewer メンバ
Microsoft.Reporting.WinForms 名前空間