Share via


DotnetTarget Struct

Definition

.NET target setting used in ExtensionMetadata to declare what .NET versions the extension is supported on.

[Microsoft.VisualStudio.Extensibility.Internal.StringBasedEnum("", true)]
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.DotnetTarget+Converter))]
public readonly struct DotnetTarget : IEquatable<Microsoft.VisualStudio.Extensibility.DotnetTarget>
[<Microsoft.VisualStudio.Extensibility.Internal.StringBasedEnum("", true)>]
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.DotnetTarget+Converter))>]
type DotnetTarget = struct
Public Structure DotnetTarget
Implements IEquatable(Of DotnetTarget)
Inheritance
DotnetTarget
Attributes
Microsoft.VisualStudio.Extensibility.Internal.StringBasedEnumAttribute Newtonsoft.Json.JsonConverterAttribute
Implements

Properties

Net8

Gets descriptor for an extension that is supported for .NET 8.

Methods

Custom(String)

Initializes a DotnetTarget value.

Equals(DotnetTarget)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the string value of DotnetTarget.

Operators

Equality(DotnetTarget, DotnetTarget)

Compares two DotnetTarget values returning whether they are equal.

Implicit(DotnetTarget to String)

Implicitly converts a DotnetTarget to a string.

Implicit(String to DotnetTarget)

Implicitly converts a string to a DotnetTarget.

Inequality(DotnetTarget, DotnetTarget)

Compares two DotnetTarget values returning whether they are different.

Applies to