FrameworkName Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Initializes a new instance of the FrameworkName class from a string that contains information about a version of .NET. |
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, 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. |
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기