TypedReference.MakeTypedReference メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

<CLSCompliantAttribute(False)> _ Public Shared Function MakeTypedReference ( _ target As Object, _ flds As FieldInfo() _ ) As TypedReference
Dim target As Object Dim flds As FieldInfo() Dim returnValue As TypedReference returnValue = TypedReference.MakeTypedReference(target, flds)
[CLSCompliantAttribute(false)] public static TypedReference MakeTypedReference ( Object target, FieldInfo[] flds )
[CLSCompliantAttribute(false)] public: static TypedReference MakeTypedReference ( Object^ target, array<FieldInfo^>^ flds )
/** @attribute CLSCompliantAttribute(false) */ public static TypedReference MakeTypedReference ( Object target, FieldInfo[] flds )
CLSCompliantAttribute(false) public static function MakeTypedReference ( target : Object, flds : FieldInfo[] ) : TypedReference
- flds
各要素が次の要素で記述されるフィールドを格納したフィールドを記述する、フィールド記述のリスト。記述対象の各フィールドは、値型にする必要があります。フィールド記述は、型システムで提供される RuntimeFieldInfo オブジェクトであることが必要です。
flds の最後の要素で記述されるフィールドの TypedReference。

例外の種類 | 条件 |
---|---|
ArgumentNullException | target または flds が null 参照 (Visual Basic では Nothing) です。 または flds の要素が null 参照 (Visual Basic では Nothing) です。 |
ArgumentException | または flds の要素が RuntimeFieldInfo ではありません。 または |
MissingMemberException | パラメータ target に、flds の最初の要素で記述されるフィールドが含まれていません。または、flds の要素が、flds の次の要素で記述されるフィールドに含まれていないフィールドを記述しています。 または |

MakeTypedReference メソッドは、いくつかのターミナル フィールドに対する型指定された参照を返します。ここで、target パラメータには、flds の最初の要素で記述されるフィールドが含まれ、flds の最初の要素で記述されるフィールドには、flds の 2 番目の要素で記述されるフィールドが含まれます。以下、ターミナル フィールドに到達するまで、同様の構造が続きます。
RuntimeFieldInfo など、ランタイム型システム オブジェクトの詳細については、「リフレクションのランタイム型」を参照してください。


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からTypedReference.MakeTypedReference メソッドを検索する場合は、下記のリンクをクリックしてください。

- TypedReference.MakeTypedReference メソッドのページへのリンク