Skip to main content

XPTypeInfo Members

Serves as a base for classes that discover the object’s attributes and provide access to its metadata.

Properties

Name Description
Attributes Gets the attributes for this type.
IsPersistent Gets whether a class or member of this type is persistent.
IsVisibleInDesignTime Gets whether a property or class is visible at design time.

Methods

Name Description
AddAttribute(Attribute) Adds a new attribute to the attribute collection of the type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindAttributeInfo(String) Searches for an attribute with the specified name.
FindAttributeInfo(Type) Searches for an attribute of the specified type.
GetAttributeInfo(String) Returns the attribute with the specified name.
GetAttributeInfo(Type) Returns the attribute of the specified type.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HasAttribute(String) Determines whether the type has the specified attribute.
HasAttribute(Type) Determines whether the type has an attribute of the specified type.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAttribute(Type) Removes the attribute of the specified type.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also