共用方式為


IVsShortcutManager.WriteUserOptions(IStream) Method

Definition

Writes user options stream.

public:
 int WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream ^ pOptionsStream);
public:
 int WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream ^ pOptionsStream);
int WriteUserOptions(Microsoft::VisualStudio::OLE::Interop::IStream const & pOptionsStream);
public int WriteUserOptions (Microsoft.VisualStudio.OLE.Interop.IStream pOptionsStream);
abstract member WriteUserOptions : Microsoft.VisualStudio.OLE.Interop.IStream -> int
Public Function WriteUserOptions (pOptionsStream As IStream) As Integer

Parameters

pOptionsStream
IStream

[in] The user options stream.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsShortcutManager::WriteUserOptions(  
   [in]IStream *pOptionsStream  
);  

Applies to