Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Assembly::ReflectionOnly Property

 

Gets a Boolean value indicating whether this assembly was loaded into the reflection-only context.

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

public:
[ComVisibleAttribute(false)]
property bool ReflectionOnly {
	virtual bool get();
}

Property Value

Type: System::Boolean

true if the assembly was loaded into the reflection-only context, rather than the execution context; otherwise, false.

If an assembly has been loaded into the reflection-only context, using the ReflectionOnlyLoad method, you cannot execute code in the assembly. To execute code, the assembly must be loaded into the execution context.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft