 | WikiReadOnlyDictionaryGetInt32Value(String, Int32) Method |
This is preliminary documentation and is subject to change.
Gets the
Int32 value by property name.
A default value can be provided in case the specified key does not exist.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntaxpublic int GetInt32Value(
string key,
int defaultValue
)
Public Function GetInt32Value (
key As String,
defaultValue As Integer
) As Integer
Dim instance As WikiReadOnlyDictionary
Dim key As String
Dim defaultValue As Integer
Dim returnValue As Integer
returnValue = instance.GetInt32Value(key,
defaultValue)
public:
int GetInt32Value(
String^ key,
int defaultValue
)
member GetInt32Value :
key : string *
defaultValue : int -> int
Parameters
- key String
- The property name.
- defaultValue Int32
- The default value.
Return Value
Int32The converted value - or -
defaultValue.
See Also