DirectoryVirtualListView::TargetPercentage Property
.NET Framework (current version)
The TargetPercentage property gets or sets a value to indicate the estimated target entry's requested offset within the list, as a percentage of the total number of items in the list.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public: [DSDescriptionAttribute("DSTargetPercentage")] property int TargetPercentage { int get(); void set(int value); }
Property Value
Type: System::Int32An integer value that represents the estimated percentage offset within the list of the target entry.
| Exception | Condition |
|---|---|
| ArgumentException | The TargetPercentage property is set to a value greater than 100 or less than 0. |
When this property is set, a new value for the Offset property is computed by multiplying the value of the ApproximateTotal property by the value of the TargetPercentage property, and dividing the result by 100.
.NET Framework
Available since 2.0
Available since 2.0
Show: