TypeName.Parse(ReadOnlySpan<Char>, TypeNameParseOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses a span of characters into a type name.
public static System.Reflection.Metadata.TypeName Parse (ReadOnlySpan<char> typeName, System.Reflection.Metadata.TypeNameParseOptions? options = default);
static member Parse : ReadOnlySpan<char> * System.Reflection.Metadata.TypeNameParseOptions -> System.Reflection.Metadata.TypeName
Public Shared Function Parse (typeName As ReadOnlySpan(Of Char), Optional options As TypeNameParseOptions = Nothing) As TypeName
Parameters
- typeName
- ReadOnlySpan<Char>
A span containing the characters representing the type name to parse.
- options
- TypeNameParseOptions
An object that describes optional TypeNameParseOptions parameters to use.
Returns
Parsed type name.
Exceptions
Provided type name was invalid.
Parsing has exceeded the limit set by MaxNodes.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.