Version

TryGetValues Method

Tries to obtain the value of the constraint.
Syntax
'Declaration
 
Public Function TryGetValues( _
   ByRef values As Object() _
) As Boolean
public bool TryGetValues( 
   out object[] values
)

Parameters

values
When the method returns, will be an array of values or null if the list of values could not be obtained.

Return Value

True if the list of values could be obtained; False otherwise.
Remarks

The list of values can only be obtained if it was set with the SetValues method or a formula is applied with one of the SetValuesFormula methods and the formula equals a constant string with a list of values, such as ="A,B,C".

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also