共用方式為


IVsSimpleBrowseComponentSet.RemoveComponent(IVsNavInfo) Method

Definition

Removes a component from the component set.

public:
 int RemoveComponent(Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ pRealLibNavInfo);
public:
 int RemoveComponent(Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ pRealLibNavInfo);
int RemoveComponent(Microsoft::VisualStudio::Shell::Interop::IVsNavInfo const & pRealLibNavInfo);
public int RemoveComponent (Microsoft.VisualStudio.Shell.Interop.IVsNavInfo pRealLibNavInfo);
abstract member RemoveComponent : Microsoft.VisualStudio.Shell.Interop.IVsNavInfo -> int
Public Function RemoveComponent (pRealLibNavInfo As IVsNavInfo) As Integer

Parameters

pRealLibNavInfo
IVsNavInfo

The IVsNavInfo that represents the navigation information that does not include the root node navigation information.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT RemoveComponent(  
[in] IVsNavInfo * pRealLibNavInfo  
);  

Applies to