StyleCollectionEditor.CreateInstance(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- itemType
- Type
The type to create an instance of.
Returns
A collection of the specified type.
Notes to Inheritors
The CreateInstance(Type) method should throw an exception if it cannot create a new instance of the specified type.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.