ITypeResolutionService.ReferenceAssembly Method (AssemblyName)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a reference to the specified assembly.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

void ReferenceAssembly(
	AssemblyName name
)

Parameters

name
Type: System.Reflection.AssemblyName

An AssemblyName that indicates the assembly to reference.

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.

.NET Framework
Available since 1.1
Return to top
Show: