PostSharp4.3//API Reference/Post­Sharp.​Reflection Namespace/Declaration­Identifier Structure/Declaration­Identifier Methods/Declaration­Identifier.​Get­Declaring­Type­Identifier Method
DeclarationIdentifier.GetDeclaringTypeIdentifier Method
Gets the DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier.

Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public DeclarationIdentifier GetDeclaringTypeIdentifier()

Return Value

Type: DeclarationIdentifier
The DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier. If the current DeclarationIdentifier already represents a type, this method returns the current DeclarationIdentifier.
See Also