Share via


CreatePackageDependencyOptions.LifetimeArtifact Property

Definition

Gets or sets the name of the artifact used to define the lifetime of the package dependency, if the LifetimeArtifactKind property is set to PackageDependencyLifetimeArtifactKind.FilePath or PackageDependencyLifetimeArtifactKind.RegistryKey.

public:
 property Platform::String ^ LifetimeArtifact { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring LifetimeArtifact();

void LifetimeArtifact(winrt::hstring value);
public string LifetimeArtifact { get; set; }
var string = createPackageDependencyOptions.lifetimeArtifact;
createPackageDependencyOptions.lifetimeArtifact = string;
Public Property LifetimeArtifact As String

Property Value

String

Platform::String

winrt::hstring

Remarks

Do not use this property if the LifetimeArtifactKind property is set to PackageDependencyLifetimeArtifactKind.Process.

Applies to

See also