HostItem.LoadFromStream Method
Loads the HostItem, using the values in the stream.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Protected Overridable Sub LoadFromStream ( _
xmlStream As Stream, _
errorDelegate As ErrorDelegate, _
uri As Uri _
)
'Usage
Dim xmlStream As Stream
Dim errorDelegate As ErrorDelegate
Dim uri As Uri
Me.LoadFromStream(xmlStream, errorDelegate, _
uri)
protected virtual void LoadFromStream(
Stream xmlStream,
ErrorDelegate errorDelegate,
Uri uri
)
protected:
virtual void LoadFromStream(
Stream^ xmlStream,
ErrorDelegate^ errorDelegate,
Uri^ uri
)
protected function LoadFromStream(
xmlStream : Stream,
errorDelegate : ErrorDelegate,
uri : Uri
)
Parameters
xmlStream
Type: System.IO.StreamA sequence of bytes representing the HostItem to load.
errorDelegate
Type: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Internal.ErrorDelegateAn error delegate.
uri
Type: System.UriAn object representation of a Uniform Resource Identifier (URI).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace