CodeDirectiveCollection.Add メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeDirectiveCollection.Add メソッドの意味・解説 

CodeDirectiveCollection.Add メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定した CodeDirective オブジェクトコレクション追加します

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

Public Function Add ( _
    value As CodeDirective _
) As Integer
Dim instance As CodeDirectiveCollection
Dim value As CodeDirective
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add (
    CodeDirective value
)
public:
int Add (
    CodeDirective^ value
)
public int Add (
    CodeDirective value
)
public function Add (
    value : CodeDirective
) : int

パラメータ

value

追加する CodeDirective オブジェクト

戻り値
新し要素挿入されインデックス位置

使用例使用例

Add メソッド使用して CodeDirective オブジェクトコレクション追加する方法次のコード例示します。このコード例は、CodeDirectiveCollection クラストピック取り上げているコード例一部分です。

' Adds a CodeDirective to the collection.
collection.Add(New CodeRegionDirective(CodeRegionMode.Start, "Region1"))
// Adds a CodeDirective to the collection.
collection.Add(new CodeRegionDirective(CodeRegionMode.Start, "Region1"));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeDirectiveCollection クラス
CodeDirectiveCollection メンバ
System.CodeDom 名前空間
CodeDirective クラス


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

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

辞書ショートカット

すべての辞書の索引

CodeDirectiveCollection.Add メソッドのお隣キーワード
検索ランキング

   

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



CodeDirectiveCollection.Add メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS