次の方法で共有


NameObjectCollectionBase.BaseGetAllValues メソッド (Type)

NameObjectCollectionBase インスタンス内のすべての値を格納する、指定した型の配列を返します。

Overloads Protected Function BaseGetAllValues( _
   ByVal type As Type _) As Object()
[C#]
protected object[] BaseGetAllValues(Typetype);
[C++]
protected: Object* BaseGetAllValues(Type* type)  __gc[];
[JScript]
protected function BaseGetAllValues(
   type : Type) : Object[];

パラメータ

  • type
    返される配列の型を表す Type

戻り値

NameObjectCollectionBase インスタンス内のすべての値を格納する、指定した型の配列。

例外

例外の種類 条件
ArgumentNullException type が null 参照 (Visual Basic では Nothing) です。
ArgumentException type が有効な Type ではありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

NameObjectCollectionBase クラス | NameObjectCollectionBase メンバ | System.Collections.Specialized 名前空間 | NameObjectCollectionBase.BaseGetAllValues オーバーロードの一覧 | Type