GetView Method
Collapse the table of content
Expand the table of content

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
© 2016 Microsoft