DirectoryVirtualListView.TargetPercentage Property

Definition

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.

public:
 property int TargetPercentage { int get(); void set(int value); };
public int TargetPercentage { get; set; }
[System.DirectoryServices.DSDescription("DSTargetPercentage")]
public int TargetPercentage { get; set; }
member this.TargetPercentage : int with get, set
[<System.DirectoryServices.DSDescription("DSTargetPercentage")>]
member this.TargetPercentage : int with get, set
Public Property TargetPercentage As Integer

Property Value

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

Attributes

Exceptions

The TargetPercentage property is set to a value greater than 100 or less than 0.

Remarks

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.

Applies to