Intersoft ClientUI Documentation
MainType Property
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ApplicationPackage Class : MainType Property






Gets or sets the type name that represents the main element of the application package.

Syntax

Visual Basic (Declaration) 
Public Property MainType As String
Visual Basic (Usage)Copy Code
Dim instance As ApplicationPackage
Dim value As String
 
instance.MainType = value
 
value = instance.MainType
C# 
public string MainType {get; set;}
Delphi 
public read-write property MainType: String; 
JScript 
public function get,set MainType : String
Managed Extensions for C++ 
public: __property string* get_MainType();
public: __property void set_MainType( 
   string* value
);
C++/CLI 
public:
property String^ MainType {
   String^ get();
   void set (    String^ value);
}

Remarks

The type specified in the MainType property will be created during the application loading, which generally represent the element of the particular application.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.