Intersoft ClientUI Documentation
GetInstance Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IRegistration Interface : GetInstance Method






Gets the instance of the type using the registered function.

Syntax

Visual Basic (Declaration) 
Function GetInstance() As Object
Visual Basic (Usage)Copy Code
Dim instance As IRegistration
Dim value As Object
 
value = instance.GetInstance()
C# 
object GetInstance()
Delphi 
function GetInstance(): TObject; 
JScript 
function GetInstance() : Object;
Managed Extensions for C++ 
Object* GetInstance(); 
C++/CLI 
Object^ GetInstance(); 

Return Value

The new or cached instance.

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.