VirtualTypeBuilder::BaseType Property

 

Gets or sets the base type from which the virtual type is derived.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
property Type^ BaseType {
	Type^ get();
	void set(Type^ value);
}

Property Value

Type: System::Type^

A Type that represents a base type from which the virtual type is derived.

Exception Condition
ArgumentNullException

The value passed is null.

ArgumentException

The type passed has a UnderlyingSystemType that differs from the type, or if the type passed is a virtual type.

A base type must be an actual runtime type, not another virtual type. The default value of the BaseType property is the Object type.

Return to top
Show: