XamlDeferLoadAttribute Constructor (Type^, Type^)

.NET Framework (current version)
 

Initializes a new instance of the XamlDeferLoadAttribute class, using CLR Type values.

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

public:
XamlDeferLoadAttribute(
	Type^ loaderType,
	Type^ contentType
)

Parameters

loaderType
Type: System::Type^

The CLR Type value for the implementation to use for the defer load behavior.

contentType
Type: System::Type^

The CLR Type value for the destination/content type of the defer load behavior.

Exception Condition
ArgumentNullException

loaderType or contentType is null.

.NET Framework
Available since 4.0
Return to top
Show: