Product.GetIncompatibleOrMissingExternalProduct Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetIncompatibleOrMissingExternalProduct(IEnumerable<Product>, String, Product) |
Gets a value that determines whether an external product is missing or incompatible with the current product. |
GetIncompatibleOrMissingExternalProduct(IEnumerable<Product>, Product, String, Product) |
GetIncompatibleOrMissingExternalProduct(IEnumerable<Product>, String, Product)
Gets a value that determines whether an external product is missing or incompatible with the current product.
public:
bool GetIncompatibleOrMissingExternalProduct(System::Collections::Generic::IEnumerable<Microsoft::Web::PlatformInstaller::Product ^> ^ cartProducts, [Runtime::InteropServices::Out] System::String ^ % incompatibilityString, [Runtime::InteropServices::Out] Microsoft::Web::PlatformInstaller::Product ^ % uninstalledExternalDependency);
public bool GetIncompatibleOrMissingExternalProduct (System.Collections.Generic.IEnumerable<Microsoft.Web.PlatformInstaller.Product> cartProducts, out string incompatibilityString, out Microsoft.Web.PlatformInstaller.Product uninstalledExternalDependency);
member this.GetIncompatibleOrMissingExternalProduct : seq<Microsoft.Web.PlatformInstaller.Product> * * -> bool
Public Function GetIncompatibleOrMissingExternalProduct (cartProducts As IEnumerable(Of Product), ByRef incompatibilityString As String, ByRef uninstalledExternalDependency As Product) As Boolean
Parameters
- cartProducts
- IEnumerable<Product>
The list of products currently selected for installation by the user.
- incompatibilityString
- String
An out parameter that contains the description of the incompatibility issue.
- uninstalledExternalDependency
- Product
An out parameter that contains the description of the uninstalled external dependency.
Returns
true
if the external dependency is incompatible or missing, otherwise false
.
Applies to
GetIncompatibleOrMissingExternalProduct(IEnumerable<Product>, Product, String, Product)
public:
bool GetIncompatibleOrMissingExternalProduct(System::Collections::Generic::IEnumerable<Microsoft::Web::PlatformInstaller::Product ^> ^ cartProducts, Microsoft::Web::PlatformInstaller::Product ^ preferedProduct, [Runtime::InteropServices::Out] System::String ^ % incompatibilityString, [Runtime::InteropServices::Out] Microsoft::Web::PlatformInstaller::Product ^ % uninstalledExternalDependency);
public bool GetIncompatibleOrMissingExternalProduct (System.Collections.Generic.IEnumerable<Microsoft.Web.PlatformInstaller.Product> cartProducts, Microsoft.Web.PlatformInstaller.Product preferedProduct, out string incompatibilityString, out Microsoft.Web.PlatformInstaller.Product uninstalledExternalDependency);
member this.GetIncompatibleOrMissingExternalProduct : seq<Microsoft.Web.PlatformInstaller.Product> * Microsoft.Web.PlatformInstaller.Product * * -> bool
Public Function GetIncompatibleOrMissingExternalProduct (cartProducts As IEnumerable(Of Product), preferedProduct As Product, ByRef incompatibilityString As String, ByRef uninstalledExternalDependency As Product) As Boolean
Parameters
- cartProducts
- IEnumerable<Product>
- preferedProduct
- Product
- incompatibilityString
- String
- uninstalledExternalDependency
- Product
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for