CollectionConverter.GetPropertiesSupported(ITypeDescriptorContext) 메서드

정의

이 개체에서 속성을 지원하는지 여부를 나타내는 값을 가져옵니다.

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

매개 변수

context
ITypeDescriptorContext

형식 컨텍스트를 제공하는 ITypeDescriptorContext입니다.

반환

이 개체의 속성을 찾으려면 GetProperties(ITypeDescriptorContext, Object, Attribute[])를 호출하지 않아야 하므로 false입니다. 이 메서드는 true를 반환하지 않습니다.

설명

context 매개 변수는 이 변환기가 호출되는 환경에 대한 추가 정보를 추출하는 데 사용할 수 있습니다. 이 매개 변수는 null이 될 수 있으므로 항상 확인해야 합니다. 또한 컨텍스트 개체의 속성은 null을 반환할 수도 있습니다.

컬렉션은 속성을 지원하지 않습니다. 따라서 이 메서드는 항상 를 반환합니다 false.

적용 대상

추가 정보