Partager via


SetPackageReferenceVersion Class

Definition

Represents the operation to update a package reference version in a project.

[System.Runtime.CompilerServices.Nullable(0)]
public class SetPackageReferenceVersion : Microsoft.VisualStudio.ProjectSystem.Query.Framework.Actions.PackageReferenceActionBase
[<System.Runtime.CompilerServices.Nullable(0)>]
type SetPackageReferenceVersion = class
    inherit PackageReferenceActionBase
Public Class SetPackageReferenceVersion
Inherits PackageReferenceActionBase
Inheritance
SetPackageReferenceVersion
Attributes

Constructors

SetPackageReferenceVersion(String, String)

Initializes a new instance of the SetPackageReferenceVersion class.

Properties

Action
PackageIdentity

Gets the name or the identity of the package reference to be added

(Inherited from PackageReferenceActionBase)
Version

Gets the version of the package reference to be added.

(Inherited from PackageReferenceActionBase)

Applies to