|
Creates an Electronic Documents Work File object. |
|
|
IEdoWork* CreateEdoWork ( VARIANT_BOOL bCanChange ) |
|
|
Parameters | bCanChange | [in] True if you want to make changes (perform inserts, updates or deletes) to the object you are creating, otherwise false. | | Remarks |
| How to explicitly destroy this object? |
|
| C++ |
| pEdoWork = NULL |
| The object is destroyed immediately. |
| C# |
| System.Runtime.InteropServices.Marshal.ReleaseComObject(oEdoWork) |
| oEdoWork = null |
| By assigning the object to null the object is released (the reference count is decremented) but not destroyed. The garbage collector decides when the object is actually destroyed. Adding the ReleaseComObject-statement speeds up the actual destruction of the object. |
| VBS |
| Set oEdoWork = Nothing |
| The object is destroyed immediately. |
| VBN |
| System.Runtime.InteropServices.Marshal.ReleaseComObject(oEdoWork) |
| oEdoWork = Nothing |
| By assigning the object to Nothing the object is released (the reference count is decremented) but not destroyed. The garbage collector decides when the object is actually destroyed. Adding the ReleaseComObject-statement speeds up the actual destruction of the object. |
|
|
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
IEdoWorkPtr pEdoWork = pDossier->CreateEdoWork (VARIANT_TRUE);
|
|
|
C# |
|
EdoWork oEdoWork = oDossier.CreateEdoWork (true);
|
|
|
VBS |
|
Dim oEdoWork
Set oEdoWork = oDossier.CreateEdoWork(True)
|
|
|
VB.NET |
|
Dim oEdoWork As ClSdk.EdoWork
oEdoWork = oDossier.CreateEdoWork(True)
|
|