CompilerResults::CompiledAssembly Property

 

Gets or sets the compiled assembly.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public:
property Assembly^ CompiledAssembly {
	[SecurityPermissionAttribute(SecurityAction::Assert, Flags = SecurityPermissionFlag::ControlEvidence)]
	Assembly^ get();
	[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
	void set(Assembly^ value);
}

Property Value

Type: System.Reflection::Assembly^

An Assembly that indicates the compiled assembly.

System_CAPS_noteNote

The get accessor for the CompiledAssembly property calls the Load method to load the compiled assembly into the current application domain. After calling the get accessor, the compiled assembly cannot be deleted until the current AppDomain is unloaded.

SecurityAction::LinkDemand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

.NET Framework
Available since 1.1
Return to top
Show: