UtilsQueryInterfaceT Method (Object) |
Queries an interface on the object.
Namespace:
BlueCieloECM.InnoCielo.Meridian
Assembly:
BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.111.0)
Syntax public static T QueryInterface<T>(
Object anObject
)
where T : class
Public Shared Function QueryInterface(Of T As Class) (
anObject As Object
) As T
Parameters
- anObject
- Type: SystemObject
The object to query the interface on.
Type Parameters
- T
- The interface to query.
Return Value
Type:
T
The object casted to the interface.
If the interface is not supported by the object then the
NotSupportedException exception is thrown.
See Also