Editare

Partajați prin


ITypeResolutionService.ReferenceAssembly(AssemblyName) Method

Definition

Adds a reference to the specified assembly.

public:
 void ReferenceAssembly(System::Reflection::AssemblyName ^ name);
public void ReferenceAssembly (System.Reflection.AssemblyName name);
abstract member ReferenceAssembly : System.Reflection.AssemblyName -> unit
Public Sub ReferenceAssembly (name As AssemblyName)

Parameters

name
AssemblyName

An AssemblyName that indicates the assembly to reference.

Remarks

Once a reference to an assembly has been added to this service, this service can load types from names that do not specify an assembly.

Applies to

See also