Редагувати

Поділитися через


IRootDesigner.GetView(ViewTechnology) Method

Definition

Gets a view object for the specified view technology.

public:
 System::Object ^ GetView(System::ComponentModel::Design::ViewTechnology technology);
public object GetView (System.ComponentModel.Design.ViewTechnology technology);
abstract member GetView : System.ComponentModel.Design.ViewTechnology -> obj
Public Function GetView (technology As ViewTechnology) As Object

Parameters

technology
ViewTechnology

A ViewTechnology that indicates a particular view technology.

Returns

An object that represents the view for this designer.

Exceptions

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

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.

Applies to