TypeReference.ResolutionScope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property System::Reflection::Metadata::EntityHandle ResolutionScope { System::Reflection::Metadata::EntityHandle get(); };
public System.Reflection.Metadata.EntityHandle ResolutionScope { get; }
member this.ResolutionScope : System.Reflection.Metadata.EntityHandle
Public ReadOnly Property ResolutionScope As EntityHandle
Property Value
The resolution scope in which the target type is uniquely defined.
Remarks
Resolution scope can be one of the following handles:
TypeReferenceHandle of the enclosing type, if the target type is a nested type.
ModuleReferenceHandle, if the target type is defined in another module within the same assembly as this one.
ModuleDefinition, if the target type is defined in the current module. This should not occur in a CLI compressed metadata module.
AssemblyReferenceHandle, if the target type is defined in a different assembly from the current module.
Nil
handle if the target type must be resolved by searching the ExportedTypes for a matching Namespace and Name.