Class DisposableCom
A factory for IDisposableCom
Inheritance
System.Object
DisposableCom
Namespace: Dapplo.Windows.Interop
Assembly: Dapplo.Windows.dll
Syntax
public static class DisposableCom : object
Methods
| Improve this Doc View SourceCreate<T>(T)
Create a ComDisposable for the supplied type object
Declaration
public static IDisposableCom<T> Create<T>(T comObject)
Parameters
| Type | Name | Description |
|---|---|---|
| T | comObject | the com object itself |
Returns
| Type | Description |
|---|---|
| IDisposableCom<T> | IDisposableCom of type T |
Type Parameters
| Name | Description |
|---|---|
| T | Type for the com object |