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
- pszOldImportPath
Type: System.String
- pszOldCondition
Type: System.String
- pszNewImportPath
Type: System.String
- pszNewCondition
Type: System.String
Return Value
Type: System.Int32
.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
IVsUpgradeBuildPropertyStorage Interface