共用方式為


IVsUpgradeBuildPropertyStorage.ReplaceImport Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣告
Function ReplaceImport ( _
    pszOldImportPath As String, _
    pszOldCondition As String, _
    pszNewImportPath As String, _
    pszNewCondition As String _
) As Integer
'用途
Dim instance As IVsUpgradeBuildPropertyStorage
Dim pszOldImportPath As String
Dim pszOldCondition As String
Dim pszNewImportPath As String
Dim pszNewCondition As String
Dim returnValue As Integer

returnValue = instance.ReplaceImport(pszOldImportPath, _
    pszOldCondition, pszNewImportPath, _
    pszNewCondition)
int ReplaceImport(
    string pszOldImportPath,
    string pszOldCondition,
    string pszNewImportPath,
    string pszNewCondition
)
int ReplaceImport(
    [InAttribute] String^ pszOldImportPath, 
    [InAttribute] String^ pszOldCondition, 
    [InAttribute] String^ pszNewImportPath, 
    [InAttribute] String^ pszNewCondition
)
abstract ReplaceImport : 
        pszOldImportPath:string * 
        pszOldCondition:string * 
        pszNewImportPath:string * 
        pszNewCondition:string -> int 
function ReplaceImport(
    pszOldImportPath : String, 
    pszOldCondition : String, 
    pszNewImportPath : String, 
    pszNewCondition : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUpgradeBuildPropertyStorage Interface

IVsUpgradeBuildPropertyStorage Members

Microsoft.VisualStudio.Shell.Interop Namespace