SelectionRangeConverter.GetCreateInstanceSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if changing a value on an instance should require a call to CreateInstance to create a new value.
public:
override bool GetCreateInstanceSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
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
A ITypeDescriptorContext that provides a format context.
Returns
true
if CreateInstance must be called to make a change to one or more properties; otherwise false
.
Remarks
The default implementation always returns true
.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.