PointConverter.GetCreateInstanceSupported(ITypeDescriptorContext) Method

Definition

确定更改此对象的值是否需要调用 CreateInstance(ITypeDescriptorContext, IDictionary) 以创建新值。Determines if changing a value on this object should require a call to CreateInstance(ITypeDescriptorContext, IDictionary) to create a new value.

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

Parameters

context
ITypeDescriptorContext

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

Returns

Boolean

如果在更改此对象的一个或多个属性时应当调用 CreateInstance(ITypeDescriptorContext, IDictionary) 方法,则为 true;否则为 falsetrue if the CreateInstance(ITypeDescriptorContext, IDictionary) method should be called when a change is made to one or more properties of this object; otherwise, false.

Applies to