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
)

Parameters

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
ArgumentException

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.

System_CAPS_noteNote

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