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

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

TagPrefixInfo.TagPrefix プロパティ

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

ソース ファイルまたは名前空間アセンブリ関連付けられるタグ プリフィックス取得または設定します

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

Dim instance As TagPrefixInfo
Dim value As String

value = instance.TagPrefix

instance.TagPrefix = value
public string TagPrefix { get;
 set; }
/** @property */
public String get_TagPrefix ()

/** @property */
public void set_TagPrefix (String value)

プロパティ
タグ プリフィックス

解説解説
使用例使用例

TagPrefix プロパティ使用する方法次のコード例示します。このコード例は、PagesSection クラストピック取り上げているコード例一部分です。

' Get all current Controls in the collection.
Dim j As Int32
For j = 0 To pagesSection.Controls.Count -
 1
  Console.WriteLine("Control {0}:", j)
  Console.WriteLine("  TagPrefix = '{0}' ", _
   pagesSection.Controls(j).TagPrefix)
  Console.WriteLine("  TagName = '{0}' ", _
   pagesSection.Controls(j).TagName)
  Console.WriteLine("  Source = '{0}' ", _
   pagesSection.Controls(j).Source)
  Console.WriteLine("  Namespace = '{0}' ",
 _
   pagesSection.Controls(j).Namespace)
  Console.WriteLine("  Assembly = '{0}' ",
 _
   pagesSection.Controls(j).Assembly)
Next
// Get all current Controls in the collection.
for (int i = 0; i < pagesSection.Controls.Count;
 i++)
{
  Console.WriteLine("Control {0}:", i);
  Console.WriteLine("  TagPrefix = '{0}' ",
      pagesSection.Controls[i].TagPrefix);
  Console.WriteLine("  TagName = '{0}' ",
      pagesSection.Controls[i].TagName);
  Console.WriteLine("  Source = '{0}' ",
      pagesSection.Controls[i].Source);
  Console.WriteLine("  Namespace = '{0}' ",
      pagesSection.Controls[i].Namespace);
  Console.WriteLine("  Assembly = '{0}' ",
      pagesSection.Controls[i].Assembly);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
TagPrefixInfo クラス
TagPrefixInfo メンバ
System.Web.Configuration 名前空間
PagesSection クラス
TagPrefixInfo.Assembly プロパティ
TagPrefixInfo.Namespace プロパティ
TagPrefixInfo.TagName プロパティ



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

辞書ショートカット

すべての辞書の索引

「TagPrefixInfo.TagPrefix プロパティ」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS