C# Class Revit.SDK.Samples.ProjectInfo.CS.WrapperCustomDescriptor

Inheritance: ICustomTypeDescriptor, IWrapper
Datei anzeigen Open project: AMEE/revit

Public Methods

Method Description
GetAttributes ( ) : AttributeCollection

Returns a collection of custom attributes for this instance of a component.

GetClassName ( ) : string

Returns the class name of this instance of a component.

GetComponentName ( ) : string

Returns the name of this instance of a component.

GetConverter ( ) : TypeConverter

Returns a type converter for this instance of a component.

GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor

Returns the default event for this instance of a component.

GetDefaultProperty ( ) : PropertyDescriptor

Returns the default property for this instance of a component.

GetEditor ( Type editorBaseType ) : object

Returns an editor of the specified type for this instance of a component.

GetEvents ( ) : EventDescriptorCollection

Returns the events for this instance of a component.

GetEvents ( Attribute attributes ) : EventDescriptorCollection

Returns the events for this instance of a component using the specified attribute array as a filter.

GetProperties ( ) : PropertyDescriptorCollection

Returns the properties for this instance of a component.

GetProperties ( Attribute attributes ) : PropertyDescriptorCollection

Returns the properties for this instance of a component using the attribute array as a filter.

GetPropertyOwner ( PropertyDescriptor pd ) : object

Returns an object that contains the property described by the specified property descriptor.

ToString ( ) : string

overrides ToString method

WrapperCustomDescriptor ( object handle ) : System

Initializes handle object

Method Details

GetAttributes() public method

Returns a collection of custom attributes for this instance of a component.
public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

Returns the class name of this instance of a component.
public GetClassName ( ) : string
return string

GetComponentName() public method

Returns the name of this instance of a component.
public GetComponentName ( ) : string
return string

GetConverter() public method

Returns a type converter for this instance of a component.
public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

Returns the default event for this instance of a component.
public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

Returns the default property for this instance of a component.
public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

Returns an editor of the specified type for this instance of a component.
public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type A Type that represents the editor for this object.
return object

GetEvents() public method

Returns the events for this instance of a component.
public GetEvents ( ) : EventDescriptorCollection
return System.ComponentModel.EventDescriptorCollection

GetEvents() public method

Returns the events for this instance of a component using the specified attribute array as a filter.
public GetEvents ( Attribute attributes ) : EventDescriptorCollection
attributes System.Attribute An array of type Attribute that is used as a filter.
return System.ComponentModel.EventDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component.
public GetProperties ( ) : PropertyDescriptorCollection
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component using the attribute array as a filter.
public GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
attributes System.Attribute An array of type Attribute that is used as a filter.
return System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner() public method

Returns an object that contains the property described by the specified property descriptor.
public GetPropertyOwner ( PropertyDescriptor pd ) : object
pd System.ComponentModel.PropertyDescriptor A PropertyDescriptor that represents the property whose owner is to be found.
return object

ToString() public method

overrides ToString method
public ToString ( ) : string
return string

WrapperCustomDescriptor() public method

Initializes handle object
public WrapperCustomDescriptor ( object handle ) : System
handle object Handle object
return System