IPexChoiceSession.ChooseValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ChooseValue<T>(String) |
Returns a value compatible with the type parameter. |
ChooseValue<T>(String, Boolean, Boolean, Type[]) |
Returns a value compatible with the type parameter. |
ChooseValue<T>(String)
Returns a value compatible with the type parameter.
public:
generic <typename T>
T ChooseValue(System::String ^ description);
public T ChooseValue<T> (string description);
abstract member ChooseValue : string -> 'T
Public Function ChooseValue(Of T) (description As String) As T
Type Parameters
- T
Parameters
- description
- String
The description of the choice.
Returns
T
Applies to
ChooseValue<T>(String, Boolean, Boolean, Type[])
Returns a value compatible with the type parameter.
public:
generic <typename T>
where T : class T ChooseValue(System::String ^ description, bool nonNull, bool allowSubtypes, ... cli::array <Type ^> ^ types);
public T ChooseValue<T> (string description, bool nonNull, bool allowSubtypes, params Type[] types) where T : class;
abstract member ChooseValue : string * bool * bool * Type[] -> 'T (requires 'T : null)
Public Function ChooseValue(Of T As Class) (description As String, nonNull As Boolean, allowSubtypes As Boolean, ParamArray types As Type()) As T
Type Parameters
- T
Parameters
- description
- String
The description of the choice.
- nonNull
- Boolean
Whether the returned reference must not be null.
- allowSubtypes
- Boolean
Whether subtypes of the types may be considered
- types
- Type[]
A list of types assignable to the type parameter
Returns
T