Skip to content

HierarchicalKey.Create(string)

Create(string)

static
View source
public static HierarchicalKey Create(string value)
Creates one literal segment, escaping slash and backslash characters.

Parameters

valuestring
The nonempty literal segment.

Returns

The segment identity.

Exceptions

System.ArgumentNullException
value is null.
System.ArgumentException
value is empty or contains an unpaired surrogate.