Compartir a través de


CompositionError.Element Property

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

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

Namespace:  System.ComponentModel.Composition
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 composition element that is the cause of the CompositionError. 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.