Edit

Share via


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, [Runtime::InteropServices::Out] System::Reflection::Metadata::AssemblyNameInfo ^ % result);
public static bool TryParse (ReadOnlySpan<char> assemblyName, out System.Reflection.Metadata.AssemblyNameInfo? result);
static member TryParse : ReadOnlySpan<char> * AssemblyNameInfo -> bool
Public Shared Function TryParse (assemblyName As ReadOnlySpan(Of Char), ByRef result As AssemblyNameInfo) As Boolean

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