 | AppEnvReaderGetValuesT Method |
NOT IMPLEMENTED!
Returns an array of values for a key. If there is no value for the
key, defaultValue is returned.
Wildcards of the form %Name% are replaced recursively if possible;
An attempt is made to cast the determined string value to the return type T.
Namespace: NetEti.ApplicationEnvironmentAssembly: NetEti.AppEnvReader (in NetEti.AppEnvReader.dll) Version: 1.0.0+903a007d8850bcbaf700b4fedc513f6c16da77d4
Syntaxpublic T[]? GetValues<T>(
string key,
T[]? defaultValues
)
Public Function GetValues(Of T) (
key As String,
defaultValues As T()
) As T()
public:
generic<type name T>
virtual array<T>^ GetValues(
String^ key,
array<T>^ defaultValues
) sealed
abstract GetValues :
key : string *
defaultValues : 'T[] -> 'T[]
override GetValues :
key : string *
defaultValues : 'T[] -> 'T[]
Parameters
- key String
- The access key (string)
- defaultValues T
- The default result of type T[]
Type parameters
- T
- The desired return type
Return value
TValue array for the key cast to the return type
Implemented
IGetValueGetValuesT(String, T)
Exceptions
See also