ComposablePartException.Element Property

Definition

Gets the composition element that is the cause of the exception.

public:
 property System::ComponentModel::Composition::Primitives::ICompositionElement ^ Element { System::ComponentModel::Composition::Primitives::ICompositionElement ^ get(); };
public System.ComponentModel.Composition.Primitives.ICompositionElement Element { get; }
public System.ComponentModel.Composition.Primitives.ICompositionElement? Element { get; }
member this.Element : System.ComponentModel.Composition.Primitives.ICompositionElement
Public ReadOnly Property Element As ICompositionElement

Property Value

The compositional element that is the cause of the ComposablePartException. The default is null.

Applies to