AddPackageDependencyOptions Class
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.
Defines options that can be applied when adding a run-time reference to a framework package by using the PackageDependency.Add method.
public ref class AddPackageDependencyOptions sealed
/// [Windows.Foundation.Metadata.Activatable(1)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class AddPackageDependencyOptions final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract, 65536)]
class AddPackageDependencyOptions final
[Windows.Foundation.Metadata.Activatable(1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class AddPackageDependencyOptions
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract), 65536)]
public sealed class AddPackageDependencyOptions
function AddPackageDependencyOptions()
Public NotInheritable Class AddPackageDependencyOptions
- Inheritance
- Attributes
Constructors
AddPackageDependencyOptions() |
Creates a new instance of the AddPackageDependencyOptions class. |
Properties
PrependIfRankCollision |
When you call the PackageDependency.Add method and multiple packages are present in the package graph with the same rank as specified by the Rank property, this property indicates whether the resolved package is added before others of the same rank. |
Rank |
The rank to use to add the resolved package to the caller's package graph. |