This document is archived and information here might be outdated.  Recommended version.


IAppDisplay.MainScreen Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IA > IAppDisplay Interface > IAppDisplay.MainScreen Property
ArcGIS Developer Help

IAppDisplay.MainScreen Property

The ScreenDisplay associated with the main application window. Set this property before using the other properties and methods.

[Visual Basic .NET]
Public Property MainScreen As IScreenDisplay
[C#]
public IScreenDisplay MainScreen {get; set;}
[C++]
HRESULT get_MainScreen(
  IScreenDisplay* MainScreen
);
[C++]
HRESULT putref_MainScreen(
  IScreenDisplay** MainScreen
);
[C++]
Parameters
MainScreen [in]

MainScreen is a parameter of type IScreenDisplay* MainScreen [out, retval]
MainScreen is a parameter of type IScreenDisplay**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAppDisplay Interface