DependencyObjectType 类

定义

为所有 DependencyObject 派生类型实现基础类型缓存。Implements an underlying type cache for all DependencyObject derived types.

public ref class DependencyObjectType
public class DependencyObjectType
type DependencyObjectType = class
Public Class DependencyObjectType
继承
DependencyObjectType

注解

DependencyObjectType 表示的特定基础系统 (CLR) Type DependencyObjectDependencyObjectType represents a specific underlying system (CLR) Type of a DependencyObject. DependencyObjectType 实质上是 (CLR) 的包装, Type 因此它可以扩展其某些功能。DependencyObjectType is essentially a wrapper for the (CLR) Type so that it can extend some of its capabilities.

此类没有公共构造函数。This class has no public constructor. 此类的实例只能通过其他对象上的属性获取 (例如 DependencyObject.DependencyObjectType) 或通过静态方法 FromSystemTypeInstances of this class can only be obtained through properties on other objects (such as DependencyObject.DependencyObjectType), or through the static method FromSystemType.

属性

BaseType

获取当前 DependencyObjectType 的直接基类的 DependencyObjectTypeGets the DependencyObjectType of the immediate base class of the current DependencyObjectType.

Id

为常数时间数组查找操作获取一个从零开始的唯一标识符。Gets a zero-based unique identifier for constant-time array lookup operations.

Name

获取 (CLR) 系统类型所表示的公共语言运行时的名称。Gets the name of the represented common language runtime (CLR) system type.

SystemType

获取此所表示 (CLR) 系统类型的公共语言运行时 DependencyObjectTypeGets the common language runtime (CLR) system type represented by this DependencyObjectType.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
FromSystemType(Type)

返回一个 DependencyObjectType ,它表示给定的系统 (CLR) 类型。Returns a DependencyObjectType that represents a given system (CLR) type.

GetHashCode()

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

GetType()

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

(继承自 Object)
IsInstanceOfType(DependencyObject)

确定指定的对象是否是当前 DependencyObjectType 的实例。Determines whether the specified object is an instance of the current DependencyObjectType.

IsSubclassOf(DependencyObjectType)

确定当前 DependencyObjectType 是否派生自指定的 DependencyObjectTypeDetermines whether the current DependencyObjectType derives from the specified DependencyObjectType.

MemberwiseClone()

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

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅