Queries an interface on the object.
Namespace: BlueCieloECM.InnoCielo.MeridianAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)
Syntax
C# |
---|
public static T QueryInterface<T>(
Object anObject
)
where T : class
|
Visual Basic |
---|
Public Shared Function QueryInterface(Of T As Class) ( _
anObject As Object _
) As T |
Visual C++ |
---|
public:
generic<typename T>
where T : ref class
static T QueryInterface(
Object^ anObject
) |
Type Parameters
Return Value
The object casted to the interface.
If the interface is not supported by the object then the
NotSupportedException exception is thrown.
See Also