Edytuj

Udostępnij za pośrednictwem


MenuItemStyleCollectionEditor.CreateInstance(Type) Method

Definition

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 of item to create.

Returns

A new instance of the specified type, MenuItemStyle.

Remarks

The CreateInstance method is used to create new MenuItemStyle objects. The CreateInstance calls the CreateInstance method to access the activation methods for late-bound support.

Applies to

See also