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

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

ComManagedImportUtil.GetComponentInfo メソッド

アセンブリからコンポーネント情報を取得します。

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

Public Sub GetComponentInfo ( _
    assemblyPath As String, _
    <OutAttribute> ByRef numComponents As
 String, _
    <OutAttribute> ByRef componentInfo As
 String _
)
Dim instance As ComManagedImportUtil
Dim assemblyPath As String
Dim numComponents As String
Dim componentInfo As String

instance.GetComponentInfo(assemblyPath, numComponents, componentInfo)
public void GetComponentInfo (
    string assemblyPath,
    out string numComponents,
    out string componentInfo
)
public:
virtual void GetComponentInfo (
    String^ assemblyPath, 
    [OutAttribute] String^% numComponents, 
    [OutAttribute] String^% componentInfo
) sealed
public final void GetComponentInfo (
    String assemblyPath, 
    /** @attribute OutAttribute() */ /** @ref */ String numComponents, 
    /** @attribute OutAttribute() */ /** @ref */ String componentInfo
)
JScript では、値型の引数は参照渡しされません。

パラメータ

assemblyPath

アセンブリへのパス。

numComponents

このメソッドが返されるときに、このパラメータにアセンブリ内のコンポーネントの数を格納します。

componentInfo

このメソッドが返されるときに、このパラメータにコンポーネントに関する情報を格納します。

例外例外
例外の種類条件

ArgumentException

assemblyPath が、空の文字列か、空白しか含んでいないか、または InvalidPathChars で定義されている無効な文字を 1 つ以上含んでいます。

または

システムは、絶対パスを取得できませんでした。

SecurityException

呼び出し元に、必要なアクセス許可がありません。

ArgumentNullException

assemblyPath が null 参照 (Visual Basic では Nothing) です。

NotSupportedException

assemblyPath にコロン (":") が含まれています。

PathTooLongException

指定したパス、ファイル名、またはその両方がシステム定義の最大長を超えています。たとえば、Windows ベースのプラットフォームの場合、パスの長さは 248 文字未満、ファイル名の長さは 260 文字未満である必要があります。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComManagedImportUtil クラス
ComManagedImportUtil メンバ
System.EnterpriseServices.Internal 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



ComManagedImportUtil.GetComponentInfo メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS