Share via


AssemblyIdentity.TryParseDisplayName Method

Definition

Overloads

TryParseDisplayName(String, AssemblyIdentity)
TryParseDisplayName(String, AssemblyIdentity, AssemblyIdentityParts)

Parses display name filling defaults for any basic properties that are missing.

TryParseDisplayName(String, AssemblyIdentity)

Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
public:
 static bool TryParseDisplayName(System::String ^ displayName, [Runtime::InteropServices::Out] Microsoft::CodeAnalysis::AssemblyIdentity ^ % identity);
public static bool TryParseDisplayName (string displayName, out Microsoft.CodeAnalysis.AssemblyIdentity identity);
public static bool TryParseDisplayName (string displayName, out Microsoft.CodeAnalysis.AssemblyIdentity? identity);
static member TryParseDisplayName : string * AssemblyIdentity -> bool
Public Shared Function TryParseDisplayName (displayName As String, ByRef identity As AssemblyIdentity) As Boolean

Parameters

displayName
String
identity
AssemblyIdentity

Returns

Applies to

TryParseDisplayName(String, AssemblyIdentity, AssemblyIdentityParts)

Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs
Source:
AssemblyIdentity.DisplayName.cs

Parses display name filling defaults for any basic properties that are missing.

public:
 static bool TryParseDisplayName(System::String ^ displayName, [Runtime::InteropServices::Out] Microsoft::CodeAnalysis::AssemblyIdentity ^ % identity, [Runtime::InteropServices::Out] Microsoft::CodeAnalysis::AssemblyIdentityParts % parts);
public static bool TryParseDisplayName (string displayName, out Microsoft.CodeAnalysis.AssemblyIdentity identity, out Microsoft.CodeAnalysis.AssemblyIdentityParts parts);
public static bool TryParseDisplayName (string displayName, out Microsoft.CodeAnalysis.AssemblyIdentity? identity, out Microsoft.CodeAnalysis.AssemblyIdentityParts parts);
static member TryParseDisplayName : string * AssemblyIdentity * AssemblyIdentityParts -> bool
Public Shared Function TryParseDisplayName (displayName As String, ByRef identity As AssemblyIdentity, ByRef parts As AssemblyIdentityParts) As Boolean

Parameters

displayName
String

Display name.

identity
AssemblyIdentity

A full assembly identity.

parts
AssemblyIdentityParts

Parts of the assembly identity that were specified in the display name, or 0 if the parsing failed.

Returns

True if display name parsed correctly.

Exceptions

displayName is null.

Remarks

The simple name has to be non-empty. A partially specified version might be missing build and/or revision number. The default value for these is 65535. The default culture is neutral (CultureName is Empty. If neither public key nor token is specified the identity is considered weak.

Applies to