StringExtensionCanParseT(String) Method
Determines whether the specified value can be converted to the target type T.
Namespace: FileHold.LibraryManager.ExtensionsAssembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
public static bool CanParse<T>(
this string value
)
- value String
- The value to be checked for conversion.
- T
- The target type to convert to.
BooleanTrue if the value can be converted to the target type T; otherwise, false.In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).