Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FrameworkName Class

.NET Framework 4.6 and 4.5

Represents the name of a version of the .NET Framework.

System.Object
  System.Runtime.Versioning.FrameworkName

Namespace:  System.Runtime.Versioning
Assemblies:   System.Runtime.Extensions (in System.Runtime.Extensions.dll)
  System (in System.dll)

public sealed class FrameworkName : IEquatable<FrameworkName>

The FrameworkName type exposes the following members.

  NameDescription
Public methodFrameworkName(String)Initializes a new instance of the FrameworkName class from a string that contains information about a version of the .NET Framework.
Public methodFrameworkName(String, Version)Initializes a new instance of the FrameworkName class from a string and a Version object that identify a .NET Framework version.
Public methodFrameworkName(String, Version, String)Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET Framework version, and a profile name.
Top

  NameDescription
Public propertyFullNameGets the full name of this FrameworkName object.
Public propertyIdentifierGets the identifier of this FrameworkName object.
Public propertyProfileGets the profile name of this FrameworkName object.
Public propertyVersionGets the version of this FrameworkName object.
Top

  NameDescription
Public methodEquals(FrameworkName)Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified FrameworkName instance.
Public methodEquals(Object)Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified object. (Overrides Object.Equals(Object).)
Public methodGetHashCodeReturns the hash code for the FrameworkName object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the string representation of this FrameworkName object. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityReturns a value that indicates whether two FrameworkName objects represent the same .NET Framework version.
Public operatorStatic memberInequalityReturns a value that indicates whether two FrameworkName objects represent different .NET Framework versions.
Top

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft