Edit

Share via


TypeConverter.GetPropertiesSupported Method

Definition

Returns whether this object supports properties.

Overloads

GetPropertiesSupported(ITypeDescriptorContext)

Returns whether this object supports properties, using the specified context.

GetPropertiesSupported()

Returns whether this object supports properties.

GetPropertiesSupported(ITypeDescriptorContext)

Source:
TypeConverter.cs
Source:
TypeConverter.cs
Source:
TypeConverter.cs

Returns whether this object supports properties, using the specified context.

public:
 virtual bool GetPropertiesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public virtual bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext context);
public virtual bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext? context);
abstract member GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
override this.GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overridable Function GetPropertiesSupported (context As ITypeDescriptorContext) As Boolean

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Returns

true if GetProperties(Object) should be called to find the properties of this object; otherwise, false.

Remarks

As implemented in this class, this method always returns false.

Notes to Inheritors

Override this method if the type you want to convert supports properties.

Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be null, so always check it. Also, properties on the context object can return null.

See also

Applies to

GetPropertiesSupported()

Source:
TypeConverter.cs
Source:
TypeConverter.cs
Source:
TypeConverter.cs

Returns whether this object supports properties.

public:
 bool GetPropertiesSupported();
public bool GetPropertiesSupported ();
member this.GetPropertiesSupported : unit -> bool
Public Function GetPropertiesSupported () As Boolean

Returns

true if GetProperties(Object) should be called to find the properties of this object; otherwise, false.

Remarks

As implemented in this class, this method always returns false.

Applies to