Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'宣言
Function OnUpgradeProjectFlavorCancelled ( _
pszFileName As String _
) As Integer
'使用
Dim instance As IVsProjectFlavorUpgradeViaFactory
Dim pszFileName As String
Dim returnValue As Integer
returnValue = instance.OnUpgradeProjectFlavorCancelled(pszFileName)
int OnUpgradeProjectFlavorCancelled(
string pszFileName
)
int OnUpgradeProjectFlavorCancelled(
[InAttribute] String^ pszFileName
)
function OnUpgradeProjectFlavorCancelled(
pszFileName : String
) : int
Parameters
pszFileName
Type: System.StringThe file upgrade is cancelled.
Return Value
Type: System.Int32
Remarks
COM Signature
From vsshell90.idl:
HRESULT OnUpgradeProjectFlavorCancelled (
[in] LPCOLESTR pszFilename
);
Permissions
- 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
IVsProjectFlavorUpgradeViaFactory Interface