共用方式為


IVsIntellisenseProject.RemoveAssemblyReference(String) Method

Definition

Removes a reference to an assembly.

public:
 int RemoveAssemblyReference(System::String ^ bstrAbsPath);
public:
 int RemoveAssemblyReference(Platform::String ^ bstrAbsPath);
int RemoveAssemblyReference(std::wstring const & bstrAbsPath);
public int RemoveAssemblyReference (string bstrAbsPath);
abstract member RemoveAssemblyReference : string -> int
Public Function RemoveAssemblyReference (bstrAbsPath As String) As Integer

Parameters

bstrAbsPath
String

[in] String containing the complete path to the assembly.

Returns

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

Applies to