FontTypeConverter.GetProperties Method (ITypeDescriptorContext, Object, Attribute[])

 

Gets a collection of property descriptions for the specified type.

Namespace:   System.Windows.Xps.Serialization
Assembly:  ReachFramework (in ReachFramework.dll)

public override PropertyDescriptorCollection GetProperties(
	ITypeDescriptorContext context,
	object value,
	Attribute[] attributes
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An object that provides contextual information.

value
Type: System.Object

An object that you need property descriptions for.

attributes
Type: System.Attribute[]

An array of attributes that filter the returned collection in order to exclude irrelevant properties.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

A PropertyDescriptorCollection that contains the property descriptions that are exposed for the component; or null if no property descriptions are returned.

Exception Condition
NotImplementedException

This method is called from this class instead of from a derived class.

This method is not implemented in this class—except to throw the exception. See Notes for Inheritors.

Notes to Inheritors:

Override this method to provide a method for obtaining selected PropertyDescriptor objects or the types. Use the context parameter to extract additional information about the environment from which this converter is invoked. Use the attributes array to designate the properties to include or to exclude.

.NET Framework
Available since 3.0
Return to top
Show: