FrameworkName FrameworkName FrameworkName FrameworkName Class

定義

表示 .NET Framework 的版本名稱。Represents the name of a version of the .NET Framework.

public ref class FrameworkName sealed : IEquatable<System::Runtime::Versioning::FrameworkName ^>
[System.Serializable]
public sealed class FrameworkName : IEquatable<System.Runtime.Versioning.FrameworkName>
type FrameworkName = class
    interface IEquatable<FrameworkName>
Public NotInheritable Class FrameworkName
Implements IEquatable(Of FrameworkName)
繼承
FrameworkNameFrameworkNameFrameworkNameFrameworkName
屬性
實作

建構函式

FrameworkName(String) FrameworkName(String) FrameworkName(String) FrameworkName(String)

從包含 .NET Framework 版本資訊的字串,初始化 FrameworkName 類別的新執行個體。Initializes a new instance of the FrameworkName class from a string that contains information about a version of the .NET Framework.

FrameworkName(String, Version) FrameworkName(String, Version) FrameworkName(String, Version) FrameworkName(String, Version)

從識別 .NET Framework 版本的字串和 FrameworkName 物件,初始化 Version 類別的新執行個體。Initializes a new instance of the FrameworkName class from a string and a Version object that identify a .NET Framework version.

FrameworkName(String, Version, String) FrameworkName(String, Version, String) FrameworkName(String, Version, String) FrameworkName(String, Version, String)

從字串、識別 .NET Framework 版本的 FrameworkName 物件,以及設定檔名稱,初始化 Version 類別的新執行個體。Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET Framework version, and a profile name.

屬性

FullName FullName FullName FullName

取得這個 FrameworkName 物件的完整名稱。Gets the full name of this FrameworkName object.

Identifier Identifier Identifier Identifier

取得這個 FrameworkName 物件的識別項。Gets the identifier of this FrameworkName object.

Profile Profile Profile Profile

取得這個 FrameworkName 物件的設定檔名稱。Gets the profile name of this FrameworkName object.

Version Version Version Version

取得這個 FrameworkName 物件的版本。Gets the version of this FrameworkName object.

方法

Equals(FrameworkName) Equals(FrameworkName) Equals(FrameworkName) Equals(FrameworkName)

傳回值,指出這個 FrameworkName 執行個體是否表示和指定之 FrameworkName 執行個體相同的 .NET Framework 版本。Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified FrameworkName instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

傳回值,指出這個 FrameworkName 執行個體是否表示和指定之物件相同的 .NET Framework 版本。Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回 FrameworkName 物件的雜湊程式碼。Returns the hash code for the FrameworkName object.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回此 FrameworkName 物件的字串表示。Returns the string representation of this FrameworkName object.

運算子

Equality(FrameworkName, FrameworkName) Equality(FrameworkName, FrameworkName) Equality(FrameworkName, FrameworkName) Equality(FrameworkName, FrameworkName)

傳回值,指出兩個 FrameworkName 物件是否表示相同的 .NET Framework 版本。Returns a value that indicates whether two FrameworkName objects represent the same .NET Framework version.

Inequality(FrameworkName, FrameworkName) Inequality(FrameworkName, FrameworkName) Inequality(FrameworkName, FrameworkName) Inequality(FrameworkName, FrameworkName)

傳回值,指出兩個 FrameworkName 物件是否表示不同的 .NET Framework 版本。Returns a value that indicates whether two FrameworkName objects represent different .NET Framework versions.

適用於