共用方式為


IVsSerializeNavigationItem.Serialize(IVsWindowFrame, IStream, Object) Method

Definition

Serializes the object to the stream.

public:
 void Serialize(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame, Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream, System::Object ^ punkObject);
public:
 void Serialize(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame, Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream, Platform::Object ^ punkObject);
void Serialize(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame, Microsoft::VisualStudio::OLE::Interop::IStream const & pStream, winrt::Windows::Foundation::IInspectable const & punkObject);
public void Serialize (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame, Microsoft.VisualStudio.OLE.Interop.IStream pStream, object punkObject);
abstract member Serialize : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame * Microsoft.VisualStudio.OLE.Interop.IStream * obj -> unit
Public Sub Serialize (pFrame As IVsWindowFrame, pStream As IStream, punkObject As Object)

Parameters

pFrame
IVsWindowFrame

[in] Window frame containing the navigation item.

pStream
IStream

[in] Stream to which to serialize.

punkObject
Object

[in] Object to serialize (originally provided through AddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32)).

Applies to