TypeDefinition.GetDeclaringType Method
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.
Returns the enclosing type of a specified nested type.
public:
System::Reflection::Metadata::TypeDefinitionHandle GetDeclaringType();
public System.Reflection.Metadata.TypeDefinitionHandle GetDeclaringType ();
member this.GetDeclaringType : unit -> System.Reflection.Metadata.TypeDefinitionHandle
Public Function GetDeclaringType () As TypeDefinitionHandle
Returns
The enclosing type of the specified nested type, or a handle a handle whose IsNil property is true
if the type is not nested.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.