WebFormsRootDesigner.AddControlToDocument メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WebFormsRootDesigner.AddControlToDocument メソッドの意味・解説 

WebFormsRootDesigner.AddControlToDocument メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

派生クラスでオーバーライドされると、Web サーバー コントロールを Web フォーム ページに追加します。

名前空間: System.Web.UI.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Public MustOverride Function
 AddControlToDocument ( _
    newControl As Control, _
    referenceControl As Control, _
    location As ControlLocation _
) As String
Dim instance As WebFormsRootDesigner
Dim newControl As Control
Dim referenceControl As Control
Dim location As ControlLocation
Dim returnValue As String

returnValue = instance.AddControlToDocument(newControl, referenceControl, location)
public abstract string AddControlToDocument
 (
    Control newControl,
    Control referenceControl,
    ControlLocation location
)
public:
virtual String^ AddControlToDocument (
    Control^ newControl, 
    Control^ referenceControl, 
    ControlLocation location
) abstract
public abstract String AddControlToDocument (
    Control newControl, 
    Control referenceControl, 
    ControlLocation location
)
public abstract function AddControlToDocument
 (
    newControl : Control, 
    referenceControl : Control, 
    location : ControlLocation
) : String

パラメータ

newControl

Web フォーム ページに追加するコントロール。

referenceControl

newControl が追加されるときの基準となるコントロール。

location

referenceControl を基準とする newControl の位置を示す ControlLocation 値。

戻り値
追加されたコントロールの ID。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からWebFormsRootDesigner.AddControlToDocument メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からWebFormsRootDesigner.AddControlToDocument メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からWebFormsRootDesigner.AddControlToDocument メソッド を検索

英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「WebFormsRootDesigner.AddControlToDocument メソッド」の関連用語

WebFormsRootDesigner.AddControlToDocument メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebFormsRootDesigner.AddControlToDocument メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS