AssemblyNameInfo.TryParse(ReadOnlySpan<Char>, AssemblyNameInfo) Method

Definition

Tries to parse a span of characters into an assembly name.

public static bool TryParse (ReadOnlySpan<char> assemblyName, out System.Reflection.Metadata.AssemblyNameInfo? result);

Parameters

assemblyName
ReadOnlySpan<Char>

A span containing the characters representing the assembly name to parse.

result
AssemblyNameInfo

Contains the result when parsing succeeds.

Returns

true if assembly name was converted successfully, otherwise, false.

Applies to

מוצר גירסאות
.NET 8 (package-provided), 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)