Compartir a través de


AssemblyIdentity.TryParseDisplayName Método

Definición

Sobrecargas

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

Analiza los valores predeterminados de relleno de nombres para mostrar de las propiedades básicas que faltan.

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

Parámetros

displayName
String
identity
AssemblyIdentity

Devoluciones

Se aplica a

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

Analiza los valores predeterminados de relleno de nombres para mostrar de las propiedades básicas que faltan.

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

Parámetros

displayName
String

Nombre para mostrar.

identity
AssemblyIdentity

Una identidad de ensamblado completa.

parts
AssemblyIdentityParts

Partes de la identidad del ensamblado que se especificaron en el nombre para mostrar o 0 si se produjo un error en el análisis.

Devoluciones

True si el nombre para mostrar se analiza correctamente.

Excepciones

displayName es null.

Comentarios

El nombre simple debe no estar vacío. Es posible que falte una versión parcialmente especificada de compilación o número de revisión. El valor predeterminado para estos es 65535. La referencia cultural predeterminada es neutra (CultureName es Empty. Si no se especifica ninguna clave pública ni token, la identidad se considera débil.

Se aplica a