IVsUIShell.RemoveCurrentNavigationDupes Method
Removes navigation duplicates in backward and forward navigation.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function RemoveCurrentNavigationDupes ( _
rdDir As RemoveBFDirection _
) As Integer
'使用
Dim instance As IVsUIShell
Dim rdDir As RemoveBFDirection
Dim returnValue As Integer
returnValue = instance.RemoveCurrentNavigationDupes(rdDir)
int RemoveCurrentNavigationDupes(
RemoveBFDirection rdDir
)
int RemoveCurrentNavigationDupes(
[InAttribute] RemoveBFDirection rdDir
)
abstract RemoveCurrentNavigationDupes :
rdDir:RemoveBFDirection -> int
function RemoveCurrentNavigationDupes(
rdDir : RemoveBFDirection
) : int
Parameters
- rdDir
Type: Microsoft.VisualStudio.Shell.Interop.RemoveBFDirection
[in] Specifies in which direction the navigation item to be removed is located.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIShell::RemoveCurrentNavigationDupes(
[in]RemoveBFDirection rdDir
);
.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.