ExtendibleEnumTryFromStringT Method
IT Hit WebDAV Classes Reference
Namespace:
ITHit.Collab
Assembly:
ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax public static bool TryFromString<T>(
string value,
out T result
)
where T : ExtendibleEnum
Public Shared Function TryFromString(Of T As ExtendibleEnum) (
value As String,
<OutAttribute> ByRef result As T
) As Boolean
public:
generic<typename T>
where T : ExtendibleEnum
static bool TryFromString(
String^ value,
[OutAttribute] T% result
)
static member TryFromString :
value : string *
result : 'T byref -> bool when 'T : ExtendibleEnum
Parameters
- value
- Type: SystemString
String value to be converted. - result
- Type: T
ExtendibleEnum ot type T that match the value parameter.
Type Parameters
- T
- Type, derived from ExtendibleEnum, to convert to.
Return Value
Type:
BooleanTrue if the conversion was succesefull, false otherwise.
See Also