AttachableMemberIdentifier 类

定义

为可附加成员提供 XAML 类型系统标识符表示形式。Provides a XAML type system identifier representation for attachable members. 标识符结构与 declaringType.memberName 字符串形式并列,便于使用可附加成员。The identifier structure parallels the declaringType.memberName string form for attachable member usage.

public ref class AttachableMemberIdentifier : IEquatable<System::Xaml::AttachableMemberIdentifier ^>
public class AttachableMemberIdentifier : IEquatable<System.Xaml.AttachableMemberIdentifier>
type AttachableMemberIdentifier = class
    interface IEquatable<AttachableMemberIdentifier>
Public Class AttachableMemberIdentifier
Implements IEquatable(Of AttachableMemberIdentifier)
继承
AttachableMemberIdentifier
实现

构造函数

AttachableMemberIdentifier(Type, String)

初始化 AttachableMemberIdentifier 类的新实例。Initializes a new instance of the AttachableMemberIdentifier class.

属性

DeclaringType

获取或设置 declaringTypeAttachableMemberIdentifier 组成部分值。Gets or sets the declaringType component value of the AttachableMemberIdentifier.

MemberName

获取或设置 memberNameAttachableMemberIdentifier 组成部分值。Gets or sets the memberName component value of the AttachableMemberIdentifier.

方法

Equals(AttachableMemberIdentifier)

确定此实例是否与另一个指定的 AttachableMemberIdentifier 对象具有相同的值。Determines whether this instance and another specified AttachableMemberIdentifier object have the same value.

Equals(Object)

确定此 AttachableMemberIdentifier 实例是否与指定的对象具有相同的值。Determines whether this instance of AttachableMemberIdentifier and a specified object have the same value.

GetHashCode()

返回此 AttachableMemberIdentifier 的哈希代码。Returns the hash code for this AttachableMemberIdentifier.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前 String 的一个AttachableMemberIdentifierReturns a String that represents the current AttachableMemberIdentifier.

运算符

Equality(AttachableMemberIdentifier, AttachableMemberIdentifier)

确定两个指定的 AttachableMemberIdentifier 对象是否具有相同的值。Determines whether two specified AttachableMemberIdentifier objects have the same value.

Inequality(AttachableMemberIdentifier, AttachableMemberIdentifier)

确定两个指定的 AttachableMemberIdentifier 对象是否具有不同的值。Determines whether two specified AttachableMemberIdentifier objects have different values.

适用于

另请参阅