protected virtual bool TryGetMinimumNeededMeasurements(
IFrame frame,
ref IMeasurement[]? measurements
)
Protected Overridable Function TryGetMinimumNeededMeasurements (
frame As IFrame,
ByRef measurements As IMeasurement()
) As Boolean
protected:
virtual bool TryGetMinimumNeededMeasurements(
IFrame^ frame,
array<IMeasurement^>^% measurements
)
function TryGetMinimumNeededMeasurements(frame, measurements);
Remember this function will *only* return the minimum needed number of measurements, no more. If you want to use all available measurements in your adapter you should just use Frame.Measurements.Values directly.
Note that the measurements array parameter will be created if the reference is null, otherwise if caller creates array it must be sized to MinimumMeasurementsToUse