MarkupExtensionReturnTypeAttribute Constructor (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the MarkupExtensionReturnTypeAttribute class using the provided Type.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

public MarkupExtensionReturnTypeAttribute(
	Type returnType


Type: System.Type

The return type that this  .NET Framework attribute reports.

A MarkupExtension derived custom class should apply this .NET Framework attribute to indicate the type-safe return type that is returned by its ProvideValue implementation.

.NET Framework
Available since 3.0
Return to top