PointConverter.GetPropertiesSupported(ITypeDescriptorContext) Method

Definition

确定该对象是否支持属性。Determines if this object supports properties. 默认情况下,它是 falseBy default, this is false.

public:
 override bool GetPropertiesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetPropertiesSupported (System.ComponentModel.ITypeDescriptorContext context);
override this.GetPropertiesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetPropertiesSupported (context As ITypeDescriptorContext) As Boolean

Parameters

context
ITypeDescriptorContext

通过其可提供附加上下文的 TypeDescriptorA TypeDescriptor through which additional context can be provided.

Returns

Boolean

如果应调用 true 来查找此对象的属性,则为 GetProperties(ITypeDescriptorContext, Object, Attribute[]);否则为 falsetrue if GetProperties(ITypeDescriptorContext, Object, Attribute[]) should be called to find the properties of this object; otherwise, false.

Applies to