Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Runtime.​Versioning.​FrameworkName

Assembly: System.Runtime

Inheritance: object → FrameworkName

Represents the name of a version of .NET.

Properties

public string
FullName
Gets the full name of this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
public string
Identifier
Gets the identifier of this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
public string
Profile
Gets the profile name of this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
public Version
Version
Gets the version of this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.

Methods

public bool
Equals​(object obj)
obj The object to compare to the current instance.
Returns <see langword="true" /> if every component of the current <see cref="T:System.Runtime.Versioning.FrameworkName" /> object matches the corresponding component of <paramref name="obj" /> ; otherwise, <see langword="false" /> .
Returns a value that indicates whether this <see cref="T:System.Runtime.Versioning.FrameworkName" /> instance represents the same .NET version as a specified object.
public bool
Equals​(FrameworkName other)
other The object to compare to the current instance.
Returns <see langword="true" /> if every component of the current <see cref="T:System.Runtime.Versioning.FrameworkName" /> object matches the corresponding component of <paramref name="other" /> ; otherwise, <see langword="false" /> .
Returns a value that indicates whether this <see cref="T:System.Runtime.Versioning.FrameworkName" /> instance represents the same .NET version as a specified <see cref="T:System.Runtime.Versioning.FrameworkName" /> instance.
public int
GetHashCode​()
Returns A 32-bit signed integer that represents the hash code of this instance.
Returns the hash code for the <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
public string
ToString​()
Returns A string that represents this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
Returns the string representation of this <see cref="T:System.Runtime.Versioning.FrameworkName" /> object.
protected void
Finalize​()
Inherited from object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public Type
GetType​()
Inherited from object
Returns The exact runtime type of the current instance.
Gets the <see cref="T:System.Type" /> of the current instance.
protected object
MemberwiseClone​()
Inherited from object
Returns A shallow copy of the current <see cref="T:System.Object" /> .
Creates a shallow copy of the current <see cref="T:System.Object" /> .