CompilerResults.PathToAssembly Property

 
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.

Gets or sets the path of the compiled assembly.

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

public string PathToAssembly {
	[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
	get;
	[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
	set;
}

Property Value

Type: System.String

The path of the assembly, or null if the assembly was generated in memory.

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: