Share via


IInteropStreamContract.Commit Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Contract
Assembly:  Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)

Syntax

'Declaration
Sub Commit ( _
    flags As Integer _
)
'Usage
Dim instance As IInteropStreamContract 
Dim flags As Integer

instance.Commit(flags)
void Commit(
    int flags
)
void Commit(
    int flags
)
function Commit(
    flags : int
)

Parameters

  • flags
    Type: System.Int32

    A value that controls how the changes for the stream object are committed.

Remarks

Delegates the call to the IStream.Commit method of the internal copy of the stream object.

See Also

Reference

IInteropStreamContract Interface

IInteropStreamContract Members

Microsoft.VisualStudio.Tools.Applications.Contract Namespace