IRootDesigner::GetView Method (ViewTechnology)


Gets a view object for the specified view technology.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

Object^ GetView(
	ViewTechnology technology


Type: System.ComponentModel.Design::ViewTechnology

A ViewTechnology that indicates a particular view technology.

Return Value

Type: System::Object^

An object that represents the view for this designer.

Exception Condition

The specified view technology is not supported or does not exist.

This method returns a view object that can present a user interface to the user. The returned data type is an Object, because there can be a variety of different user interface technologies. Development environments typically support more than one technology.


The ViewTechnology::Passthrough and ViewTechnology::WindowsForms fields are obsolete. Use ViewTechnology::Default for new designer implementations.

.NET Framework
Available since 1.1
Return to top