Udostępnij za pośrednictwem


AssemblyIdentity.FromManagedAssembly(String) Method

Definition

Obtains identity of the specified .NET assembly. File must be a .NET assembly. Returns null if identity could not be obtained.

public:
 static Microsoft::Build::Tasks::Deployment::ManifestUtilities::AssemblyIdentity ^ FromManagedAssembly(System::String ^ path);
public static Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity FromManagedAssembly (string path);
static member FromManagedAssembly : string -> Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity
Public Shared Function FromManagedAssembly (path As String) As AssemblyIdentity

Parameters

path
String

The name of the file from which the identity is to be obtained.

Returns

The assembly identity of the specified file.

Applies to