Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

c25bb167 b56d 5112 1ec7 4d21b68f7e70

haplokuon edited this page May 6, 2023 · 1 revision

Parse(String, StringComparison) Method

netDxf 3.0.0 Library

Parses the supplied enum and string value to find an associated enum value.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static T Parse(
	string value,
	StringComparison comparisonType
)

VB

Public Shared Function Parse ( 
	value As String,
	comparisonType As StringComparison
) As T

C++

public:
static T Parse(
	String^ value, 
	StringComparison comparisonType
)

F#

static member Parse : 
        value : string * 
        comparisonType : StringComparison -> 'T 

Parameters

  String
String value.
  StringComparison
Specifies how to conduct a case-insensitive match on the supplied string value.

Return Value

T
Enum value associated with the string value, if not found the default enum will be returned.

See Also

Reference

StringEnum(T) Class
Parse Overload
netDxf Namespace

Clone this wiki locally