DirectoryVirtualListView.TargetPercentage Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public int TargetPercentage { get; set; }

Property Value

Type: System.Int32

An integer value that represents the estimated percentage offset within the list of the target entry.

Exception Condition

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
Return to top