IBindingList.SortProperty 属性

定义

获取正在用于排序的 PropertyDescriptorGets the PropertyDescriptor that is being used for sorting.

public:
 property System::ComponentModel::PropertyDescriptor ^ SortProperty { System::ComponentModel::PropertyDescriptor ^ get(); };
public System.ComponentModel.PropertyDescriptor SortProperty { get; }
member this.SortProperty : System.ComponentModel.PropertyDescriptor
Public ReadOnly Property SortProperty As PropertyDescriptor

属性值

正在用于排序的 PropertyDescriptorThe PropertyDescriptor that is being used for sorting.

例外

注解

如果 trueSupportsSorting,则支持此属性;否则,此属性将引发 NotSupportedExceptionThis property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

适用于