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.
Removes an import from a project file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function RemoveImport ( _
pszImportPath As String, _
pszImportCondition As String _
) As Integer
int RemoveImport(
string pszImportPath,
string pszImportCondition
)
int RemoveImport(
[InAttribute] String^ pszImportPath,
[InAttribute] String^ pszImportCondition
)
abstract RemoveImport :
pszImportPath:string *
pszImportCondition:string -> int
function RemoveImport(
pszImportPath : String,
pszImportCondition : String
) : int
Parameters
pszImportPath
Type: String[in] Path to the file to remove.
pszImportCondition
Type: String[in] Condition to be evaluated.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell90.idl:
HRESULT RemoveImport(
[in] LPCOLESTR pszImportPath,
[in] LPCOLESTR pszImportCondition
);
.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.