다음을 통해 공유


IVsUpgradeBuildPropertyStorage.RemoveImport Method

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

‘선언
Function RemoveImport ( _
    pszImportPath As String, _
    pszImportCondition As String _
) As Integer
‘사용 방법
Dim instance As IVsUpgradeBuildPropertyStorage
Dim pszImportPath As String
Dim pszImportCondition As String
Dim returnValue As Integer

returnValue = instance.RemoveImport(pszImportPath, _
    pszImportCondition)
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

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 vsshell90.idl:

HRESULT RemoveImport(
    [in] LPCOLESTR pszImportPath, 
    [in] LPCOLESTR pszImportCondition
);

.NET Framework Security

See Also

Reference

IVsUpgradeBuildPropertyStorage Interface

IVsUpgradeBuildPropertyStorage Members

Microsoft.VisualStudio.Shell.Interop Namespace