InterfaceHelper.CreateInterface<T> Method ()
Creates an instance of the specified interface by looking at the registry value associated with that interface.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: MiscUtil (in MiscUtil.dll)
Syntax
public static T CreateInterface<T>()
where T : class
public:
generic<typename T>
where T : ref class
static T CreateInterface()
Public Shared Function CreateInterface(Of T As Class) As T
Return Value
Type: T
Returns an interface of the type specified or null.
Type Parameters
- T
The type of the interface to create.
See Also
InterfaceHelper Class
Microsoft.WindowsServerSolutions.Common Namespace
Return to top