IVsAppCompat.AskForUserConsentToBreakAssetCompat 方法 (Array)
顯示對話方塊,詢問使用者同意,若要中斷的專案相容性清單中。 如果使用者不會不同意繼續進行,這個方法會擲回 COMException 與 ErrorCode OLE_E_PROMPTSAVECANCELLED。
命名空間: Microsoft.VisualStudio.Shell.Interop
組件: Microsoft.VisualStudio.Shell.Interop.11.0 (於 Microsoft.VisualStudio.Shell.Interop.11.0.dll)
語法
void AskForUserConsentToBreakAssetCompat(
Array sarrProjectHierarchies
)
void AskForUserConsentToBreakAssetCompat(
Array^ sarrProjectHierarchies
)
abstract AskForUserConsentToBreakAssetCompat :
sarrProjectHierarchies:Array -> unit
Sub AskForUserConsentToBreakAssetCompat (
sarrProjectHierarchies As Array
)
參數
sarrProjectHierarchies
Type: System.Array專案會中斷其相容性,藉由新增一項功能的清單。
註解
如需詳細資訊,請參閱 進行自訂專案版本感知。
另請參閱
IVsAppCompat 介面
Microsoft.VisualStudio.Shell.Interop 命名空間
回到頁首