PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IElement Interface / IElement Properties / IElement.​Parent Property

IElement.Parent Property

Gets the direct parent of the current element.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
Element Parent { get; }

Property Value

Type: Element
An Element, or null if the element is detached.
See Also