CodeLinePragmaとは? わかりやすく解説

CodeLinePragma クラス

特定ファイル内の特定の位置表します

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

<SerializableAttribute> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<ComVisibleAttribute(True)> _
Public Class CodeLinePragma
Dim instance As CodeLinePragma
[SerializableAttribute] 
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] 
[ComVisibleAttribute(true)] 
public class CodeLinePragma
[SerializableAttribute] 
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] 
[ComVisibleAttribute(true)] 
public ref class CodeLinePragma
/** @attribute SerializableAttribute() */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ 
/** @attribute ComVisibleAttribute(true) */ 
public class CodeLinePragma
SerializableAttribute 
ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) 
ComVisibleAttribute(true) 
public class CodeLinePragma
解説解説
使用例使用例
' Creates a CodeLinePragma that references line 100 of the file "example.cs".
Dim pragma As New CodeLinePragma("example.cs",
 100)
// Creates a CodeLinePragma that references line 100 of the file "example.cs".
CodeLinePragma pragma = new CodeLinePragma("example.cs",
 100);
// Creates a CodeLinePragma that references line 100 of the file "example.cs".
CodeLinePragma^ pragma = gcnew CodeLinePragma( "example.cs",100 );
// Creates a CodeLinePragma that references line 100 of
// the file "example.jsl".
CodeLinePragma pragma = new CodeLinePragma("example.jsl",
 100);
継承階層継承階層
System.Object
  System.CodeDom.CodeLinePragma
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

CodeLinePragma コンストラクタ ()


CodeLinePragma コンストラクタ (String, Int32)

CodeLinePragma クラス新しインスタンス初期化します。

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

使用例使用例
' Creates a CodeLinePragma that references line 100 of the file "example.cs".
Dim pragma As New CodeLinePragma("example.cs",
 100)
// Creates a CodeLinePragma that references line 100 of the file "example.cs".
CodeLinePragma pragma = new CodeLinePragma("example.cs",
 100);
// Creates a CodeLinePragma that references line 100 of the file "example.cs".
CodeLinePragma^ pragma = gcnew CodeLinePragma( "example.cs",100 );
// Creates a CodeLinePragma that references line 100 of
// the file "example.jsl".
CodeLinePragma pragma = new CodeLinePragma("example.jsl",
 100);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

CodeLinePragma コンストラクタ

CodeLinePragma クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
CodeLinePragma () CodeLinePragma クラス新しインスタンス初期化します。
CodeLinePragma (String, Int32) CodeLinePragma クラス新しインスタンス初期化します。
参照参照

関連項目

CodeLinePragma クラス
CodeLinePragma メンバ
System.CodeDom 名前空間

CodeLinePragma プロパティ


CodeLinePragma メソッド


CodeLinePragma メンバ

特定ファイル内の特定の位置表します

CodeLinePragma データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

CodeLinePragma クラス
System.CodeDom 名前空間


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

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

辞書ショートカット

すべての辞書の索引

「CodeLinePragma」の関連用語

CodeLinePragmaのお隣キーワード
検索ランキング

   

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



CodeLinePragmaのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS