StyleCollection.CreateKnownType(Int32) メソッド

定義

Style メソッドによって返される 1 つの要素コレクションに基づいて、GetKnownTypes() クラスのインスタンスを作成します。

protected:
 override System::Object ^ CreateKnownType(int index);
protected override object CreateKnownType(int index);
override this.CreateKnownType : int -> obj
Protected Overrides Function CreateKnownType (index As Integer) As Object

パラメーター

index
Int32

作成するIStateManager オブジェクトの型の、GetKnownTypes()によって返される型の順序付きリストからのインデックス。 StyleCollectionGetKnownTypes()メソッドは 1 つの型のみを持つリストを返すので、入力indexは無視されます。

返品

Style クラスのインスタンス。

適用対象

こちらもご覧ください