 | ConversionStringToGuidList Method |
Create a List of Guid from a string
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static List<Guid> StringToGuidList(
string list,
char separator,
bool allowDuplicates
)
Public Shared Function StringToGuidList (
list As String,
separator As Char,
allowDuplicates As Boolean
) As List(Of Guid)
Parameters
- list
- Type: SystemString
String object with list of number (es: "bfd7992e-15f7-4f82-89a9-87b2302284eb,ee3c3128-7adc-4733-bfcf-de440559e39b,8e1ee8ef-cbee-4f61-8644-0d84e0dd7a59") - separator
- Type: SystemChar
Separator to use (es: ',') - allowDuplicates
- Type: SystemBoolean
The returned list contains duplicated values or not
Return Value
Type:
ListGuidReturned list of Guid objects
See Also