StyleCollectionEditor.CreateInstance(Type) Método
Definición
Crea una nueva instancia del tipo de elemento de colección especificado.Creates a new instance of the specified collection item type.
protected:
override System::Object ^ CreateInstance(Type ^ itemType);
protected override object CreateInstance (Type itemType);
override this.CreateInstance : Type -> obj
Protected Overrides Function CreateInstance (itemType As Type) As Object
Parámetros
- itemType
- Type
Tipo del que se va a crear una instancia.The type to create an instance of.
Devoluciones
Una colección del tipo especificado.A collection of the specified type.
Notas a los desarrolladores de herederos
El CreateInstance(Type) método debe producir una excepción si no puede crear una nueva instancia del tipo especificado.The CreateInstance(Type) method should throw an exception if it cannot create a new instance of the specified type.