Edit

Share via


FrameworkName Class

Definition

Represents the name of a version of .NET.

public ref class FrameworkName sealed : IEquatable<System::Runtime::Versioning::FrameworkName ^>
public sealed class FrameworkName : IEquatable<System.Runtime.Versioning.FrameworkName>
[System.Serializable]
public sealed class FrameworkName : IEquatable<System.Runtime.Versioning.FrameworkName>
type FrameworkName = class
    interface IEquatable<FrameworkName>
[<System.Serializable>]
type FrameworkName = class
    interface IEquatable<FrameworkName>
Public NotInheritable Class FrameworkName
Implements IEquatable(Of FrameworkName)
Inheritance
FrameworkName
Attributes
Implements

Constructors

FrameworkName(String, Version, String)

Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET version, and a profile name.

FrameworkName(String, Version)

Initializes a new instance of the FrameworkName class from a string and a Version object that identify a .NET version.

FrameworkName(String)

Initializes a new instance of the FrameworkName class from a string that contains information about a version of .NET.

Properties

FullName

Gets the full name of this FrameworkName object.

Identifier

Gets the identifier of this FrameworkName object.

Profile

Gets the profile name of this FrameworkName object.

Version

Gets the version of this FrameworkName object.

Methods

Equals(FrameworkName)

Returns a value that indicates whether this FrameworkName instance represents the same .NET version as a specified FrameworkName instance.

Equals(Object)

Returns a value that indicates whether this FrameworkName instance represents the same .NET version as a specified object.

GetHashCode()

Returns the hash code for the FrameworkName object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the string representation of this FrameworkName object.

Operators

Equality(FrameworkName, FrameworkName)

Returns a value that indicates whether two FrameworkName objects represent the same .NET version.

Inequality(FrameworkName, FrameworkName)

Returns a value that indicates whether two FrameworkName objects represent different .NET versions.

Applies to