---
title: "StreamWrapper..::.Commit Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_StreamWrapper_Commit_1_e1836fc4.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# StreamWrapper.Commit Method 
 
Ensures that any changes made to a stream object open in transacted mode are reflected in the parent storage.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable Sub Commit ( _grfCommitFlags As Integer _
)
```
 
```csharp
public virtual void Commit(int grfCommitFlags
)
```
 
### Parameters
 
 - grfCommitFlags
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Controls how the changes for the stream object are committed.
 
### Implements
 
[IStream.Commit(Int32)](http://msdn2.microsoft.com/en-us/550h6d02)
 
## Remarks
 For more information, please see the existing documentation for **IStream::Commit** in the MSDN library.
   
## See Also

### Reference

- [StreamWrapper Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_StreamWrapper.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
