Uredi

Deli z drugimi prek


TypeReference.ResolutionScope Property

Definition

Gets the resolution scope in which the target type is defined and is uniquely identified by the specified Namespace and Name.

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.

Applies to