Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called by the project when removing a reference to a component identified by its path.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function RemoveComponentReference ( _
wszPath As String, _
pVsLibrary As Object _
) As Integer
'Usage
Dim instance As IVsLibraryReferenceManager
Dim wszPath As String
Dim pVsLibrary As Object
Dim returnValue As Integer
returnValue = instance.RemoveComponentReference(wszPath, _
pVsLibrary)
int RemoveComponentReference(
string wszPath,
Object pVsLibrary
)
int RemoveComponentReference(
[InAttribute] String^ wszPath,
[InAttribute] Object^ pVsLibrary
)
abstract RemoveComponentReference :
wszPath:string *
pVsLibrary:Object -> int
function RemoveComponentReference(
wszPath : String,
pVsLibrary : Object
) : int
Parameters
- wszPath
Type: System.String
[in] Reference to a component identified by its path.
- pVsLibrary
Type: System.Object
[In] A pointer to an object of type pVsLibrary.
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 IVsLibraryReferenceManager::RemoveComponentReference(
[in] LPCOLESTR wszPath,
[in] IUnknown* pVsLibrary
);
.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
IVsLibraryReferenceManager Interface