Partager via


IContentList::get_Threshold, put_Threshold Property

The Threshold property is a read/write floating point number. This number contains a threshold score that items must meet or exceed to be included in the ActiveRows collection property.

HRESULT IContentList::get_Threshold(
  float* Threshold
);

HRESULT IContentList::put_Threshold(
  float Threshold
);
Property Threshold() As float

Parameters

  • Threshold
    [C++]

    [in] When putting the property, a float that contains the new threshold score.

    [out,retval] When getting the property, a pointer to a float used to return the threshold score.

Return Value

[C++]

These methods return an HRESULT indicating whether they completed successfully. See the Error Values section for more details.

[Visual Basic]

None.

Error Values

[C++]

These methods return S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

[Visual Basic]

This property sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

See Also

Other Resources

ContentList Object