FontTypeConverter.GetProperties 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.
Gets a collection of property descriptions for the specified type.
public:
override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection
Parameters
- context
- ITypeDescriptorContext
An object that provides contextual information.
- value
- Object
An object that you need property descriptions for.
- attributes
- Attribute[]
An array of attributes that filter the returned collection in order to exclude irrelevant properties.
Returns
A PropertyDescriptorCollection that contains the property descriptions that are exposed for the component; or null
if no property descriptions are returned.
Exceptions
This method is called from this class instead of from a derived class.
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기