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

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

WebControlsSection.ClientScriptsLocation プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

クライアント スクリプトの場所を取得します

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

Public ReadOnly Property
 ClientScriptsLocation As String
Dim instance As WebControlsSection
Dim value As String

value = instance.ClientScriptsLocation
public string ClientScriptsLocation { get;
 }
public:
property String^ ClientScriptsLocation {
    String^ get ();
}
/** @property */
public String get_ClientScriptsLocation ()
public function get ClientScriptsLocation
 () : String

プロパティ
クライアント スクリプトの場所。

解説解説
使用例使用例

ClientScriptsLocation取得方法次のコード例示します

' Get the Web application configuration.
Dim configuration _
As System.Configuration.Configuration = _
WebConfigurationManager.OpenWebConfiguration( _
"/aspnetTest")

' Get the <webControls> section.
Dim webControlsSection _
As WebControlsSection = _
CType(configuration.GetSection( _
"system.web/webControls"), WebControlsSection)

' Read the client script location.
Dim clientScriptLocation As String
 = _
webControlsSection.ClientScriptsLocation

Dim msg As String = _
String.Format( _
"Client script location: {0}" + _
ControlChars.Lf, clientScriptLocation)
Console.Write(msg)

// Get the Web application configuration.
System.Configuration.Configuration configuration =
    WebConfigurationManager.OpenWebConfiguration(
    "/aspnetTest");

// Get the <webControls> section.
WebControlsSection webControlsSection =
  (WebControlsSection)configuration.GetSection(
  "system.web/webControls");

// Read the client script location.
string clientScriptLocation =
    webControlsSection.ClientScriptsLocation;

string msg = String.Format(
"Client script location: {0}\n",
clientScriptLocation);

Console.Write(msg);

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「WebControlsSection.ClientScriptsLocation プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS