AssemblyBuilder.Location Property

 

Gets the location, in codebase format, of the loaded file that contains the manifest if it is not shadow-copied.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override string Location { get; }

Property Value

Type: System.String

The location of the loaded file that contains the manifest. If the loaded file has been shadow-copied, the Location is that of the file before being shadow-copied.

Exception Condition
NotSupportedException

This method is not currently supported.

SecurityException

The caller does not have the required permission.

ReflectionPermission

when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: