public static (Type type, Object value) ParseTypedPrefixedValue(
string? setting
)Public Shared Function ParseTypedPrefixedValue (
setting As String
) As (type As Type, value As Object)public:
static ValueTuple<Type^, Object^> ParseTypedPrefixedValue(
String^ setting
)Gemstone.Configuration.SettingsSection.ParseTypedPrefixedValue = function(setting);Type name is parsed from the beginning of the setting value, if it exists, and is enclosed in brackets, e.g.: [int]:123 or [System.Int32]:123. If no type name is specified, the assumed default type will always be String.
Common C# names like long and DateTime can be used as type names as well as custom type names. Custom type names require the full type name with a namespace, e.g.: [MyNamespace.MyType]:TypeValue. Type name lookups are not case-sensitive.
| InvalidOperationException | Failed to load specified type. |
| TypeLoadException | Failed to load type. |