Поделиться через


ComposablePartException.Element Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.ComponentModel.Composition.Primitives
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
Public ReadOnly Property Element As ICompositionElement
public ICompositionElement Element { get; }

Property Value

Type: System.ComponentModel.Composition.Primitives.ICompositionElement
The compositional element that is the cause of the ComposablePartException. The default is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.