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

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

HttpWebClientProtocol.UserAgent プロパティ

それぞれの要求と共に送信されるユーザー エージェント ヘッダーの値を取得または設定します

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

解説解説
使用例使用例
' MyMath is a proxy class.
Dim objMyMath As MyMath = new
 MyMath()

' Get the default user agent.
Console.WriteLine("Default user agent is: " &
 objMyMath.UserAgent)
objMyMath.UserAgent = "My Agent"
Console.WriteLine("Modified user agent is: " &
 objMyMath.UserAgent)
// MyMath is a proxy class.
MyMath objMyMath = new MyMath();

// Get the default user agent.
Console.WriteLine("Default user agent is: " + objMyMath.UserAgent);
objMyMath.UserAgent = "My Agent";
Console.WriteLine("Modified user agent is: " + objMyMath.UserAgent);
// MyMath is a proxy class.
test::MyMath^ objMyMath = gcnew test::MyMath;

// Get the default user agent.
Console::WriteLine( "Default user agent is: {0}", objMyMath->UserAgent
 );
objMyMath->UserAgent = "My Agent";
Console::WriteLine( "Modified user agent is: {0}", objMyMath->UserAgent
 );
// MyMath is a proxy class.
MyMath objMyMath = new MyMath();

// Get the default user agent.
Console.WriteLine("Default user agent is: " 
    + objMyMath.get_UserAgent());
objMyMath.set_UserAgent("My Agent");
Console.WriteLine("Modified user agent is: " 
    + objMyMath.get_UserAgent());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpWebClientProtocol クラス
HttpWebClientProtocol メンバ
System.Web.Services.Protocols 名前空間
UserAgent



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS