共用方式為


TypeIdentifier.Equality 運算子

判斷指定的 TypeIdentifier 執行個體是否視為相等。

命名空間:  Microsoft.Windows.Design.Metadata
組件:  Microsoft.Windows.Design.Extensibility (在 Microsoft.Windows.Design.Extensibility.dll 中)

語法

'宣告
Public Shared Operator = ( _
    first As TypeIdentifier, _
    second As TypeIdentifier _
) As Boolean
public static bool operator ==(
    TypeIdentifier first,
    TypeIdentifier second
)
public:
static bool operator ==(
    TypeIdentifier first, 
    TypeIdentifier second
)
static let inline (=)
        first:TypeIdentifier * 
        second:TypeIdentifier  : bool
JScript 不支援多載運算子。

參數

傳回值

型別:System.Boolean
如果 first 等於 second,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

TypeIdentifier 結構

Microsoft.Windows.Design.Metadata 命名空間