Microsoft DirectX 8.0

ComponentTypes オブジェクト

ComponentType オブジェクトのコレクションを表す。

メソッド名またはプロパティ名説明
AddComponentType をコレクションに追加する。
Cloneこのオブジェクトの新しいコピーを作成する。
Countコレクションに含まれる項目の数。
Item指定されたインデックス位置の ComponentType を取得する。
Removeコレクションを消去する。

ComponentTypes.Add メソッド

ComponentTypes オブジェクト

ComponentType をコレクションに追加する。

構文

ComponentTypes.Add(ComponentType)

パラメータ

ComponentType コレクションに追加する ComponentType オブジェクト。

戻り値

成功した場合は、新しく追加したオブジェクトのインデックス値を返す。

注意

参照

ComponentTypess.Clone メソッド

ComponentTypes オブジェクト

このオブジェクトの新しいコピーを作成する。

構文

ComponetTypes.Clone

ComponentTypes.Count プロパティ

ComponentTypes オブジェクト

コレクションに含まれる項目の数。

構文

ComponentTypes.Count

注意

このプロパティは、読み取り専用プロパティである。

参照

ComponentTypes.Item プロパティ

ComponentTypes オブジェクト

指定されたインデックス位置の ComponentType を取得する。

構文

ComponentTypes.Item(Index,ComponentType)

パラメータ

Index コレクションに含まれる ComponentType オブジェクトのインデックス。

可能な値

ComponentType オブジェクトを返す。

注意

このプロパティは、読み書き可能なプロパティである。

参照

ComponentTypes.Remove メソッド

ComponentTypes オブジェクト

コレクションを消去する。

構文

ComponentTypes.Remove(Index)

パラメータ

Index 削除する ComponentType オブジェクトのインデックス。

戻り値

注意

参照