UserControl.Response プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > UserControl.Response プロパティの意味・解説 

UserControl.Response プロパティ

現在の Web 要求対する HttpResponse オブジェクト取得します

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

Dim instance As UserControl
Dim value As HttpResponse

value = instance.Response
public HttpResponse Response { get; }
public:
property HttpResponse^ Response {
    HttpResponse^ get ();
}
/** @property */
public HttpResponse get_Response ()

プロパティ
UserControl インスタンス格納している Page関連付けられた HttpResponse オブジェクト

使用例使用例

Response プロパティ使用してユーザー コントロール実行されている Web サーバー コンピュータの名前を書き込む例を次に示しますmyControl.Response.Write 構文が、myControl.Server.Machinename 構文取得する情報表示するようにユーザー コントロール指示してます。

myControl.Response.Write("<br><b>The server code is
 running on machine</b> : " + myControl.Server.MachineName)
Dim actualServerPath As String
 = myControl.MapPath(myControl.Request.Path)

 
myControl.Response.Write("<br><b>The server code is running on machine</b>
 : " + myControl.Server.MachineName);
string actualServerPath = myControl.MapPath(myControl.Request.Path);

     
myControl.get_Response().Write("<br><b>The server code is"
 
    + "running on machine</b> : "
    + myControl.get_Server().get_MachineName());

String actualServerPath =
    myControl.MapPath(myControl.get_Request().get_Path());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

UserControl.Response プロパティのお隣キーワード
検索ランキング

   

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



UserControl.Response プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS