Partager via


ComponentGuaranteesAttribute.Guarantees Property

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

Gets a value that indicates the guaranteed level of compatibility of a library, type, or type member that spans multiple versions.

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property Guarantees As ComponentGuaranteesOptions
public ComponentGuaranteesOptions Guarantees { get; }

Property Value

Type: System.Runtime.Versioning.ComponentGuaranteesOptions
One of the enumeration values that specifies the level of compatibility that is guaranteed across multiple versions.

Remarks

The value of the Guarantees property corresponds to the guarantees parameter of the ComponentGuaranteesAttribute constructor.

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.