IInteropStreamContract Members
Include Protected Members
Include Inherited Members
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Defines methods for marshaling COM references across the host application and add-in processes.
The IInteropStreamContract type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AcquireLifetimeToken | Specifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.) |
![]() |
Clone | Creates and returns a copy of the stream object that represents the COM object. |
![]() |
Commit | Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage. |
![]() |
CopyTo | Throws a NotImplementedException in all cases. |
![]() |
GetRemoteHashCode | Returns a hash code for the IContract. (Inherited from IContract.) |
![]() |
LockRegion | Restricts access to a specified range of bytes in the stream. |
![]() |
QueryContract | Returns a contract that is implemented by this contract. (Inherited from IContract.) |
![]() |
Read | Reads a specified number of bytes from the stream object into memory starting at the current seek pointer. |
![]() |
RemoteEquals | Indicates whether the specified contract is equal to this IContract. (Inherited from IContract.) |
![]() |
RemoteToString | Returns a string representation of the current IContract. (Inherited from IContract.) |
![]() |
Revert | Discards all changes that have been made to a transacted stream since the last Commit call. |
![]() |
RevokeLifetimeToken | Specifies that the contract is no longer accessible to a client. (Inherited from IContract.) |
![]() |
Seek | Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer. |
![]() |
SetSize | Changes the size of the stream object. |
![]() |
Stat | Retrieves the STATSTG structure for this stream. |
![]() |
UnlockRegion | Removes the access restriction from a range of bytes that was previously restricted by using the LockRegion method. |
![]() |
Write | Writes a specified number of bytes into the stream object starting at the current seek pointer. |
Top
See Also
Reference
IInteropStreamContract Interface
Microsoft.VisualStudio.Tools.Applications.Contract Namespace