System.ComponentModel.Design.IRootDesigner.GetView Method

Gets a view object for the specified view technology.

Syntax

public object GetView (ViewTechnology technology)

Parameters

technology
A System.ComponentModel.Design.ViewTechnology that indicates a particular view technology.

Returns

An object that represents the view for this designer.

Remarks

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.

Note:

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

Requirements

Namespace: System.ComponentModel.Design
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0