LEADTOOLS Medical (Leadtools.Ccow assembly)
LEAD Technologies, Inc

COMCreateObject<T> Method






Interface to the COM object to create.
The COM object progid.
Creates a COM object by progid.
Syntax
public static T COMCreateObject<T>( 
   string sProgID
)
'Declaration
 
Public Shared Function COMCreateObject(Of T)( _
   ByVal sProgID As String _
) As T
'Usage
 
Dim sProgID As String
Dim value As T
 
value = Utils.COMCreateObject(Of T)(sProgID)
public static T COMCreateObject<T>( 
   string sProgID
)
 function Leadtools.Ccow.Utils.COMCreateObject( 
   sProgID 
)
public:
static T^ COMCreateObjectgeneric<typename T>
( 
   String^ sProgID
) 

Parameters

sProgID
The COM object progid.

Type Parameters

T
Interface to the COM object to create.

Return Value

The interface to the COM object.
Example
For an example refer to InitializeBinding.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Utils Class
Utils Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.