XamlDeferLoadAttribute Constructors

Definition

Initializes a new instance of the XamlDeferLoadAttribute class.

Overloads

XamlDeferLoadAttribute(String, String)

Initializes a new instance of the XamlDeferLoadAttribute class, using string names of types.

XamlDeferLoadAttribute(Type, Type)

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

XamlDeferLoadAttribute(String, String)

Initializes a new instance of the XamlDeferLoadAttribute class, using string names of types.

C#
public XamlDeferLoadAttribute(string loaderType, string contentType);

Parameters

loaderType
String

The string name of the type for the implementation to use for the defer load behavior.

contentType
String

The string name of the type for the destination/content type of the defer load behavior.

Exceptions

loaderType or contentType is null.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

XamlDeferLoadAttribute(Type, Type)

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

C#
public XamlDeferLoadAttribute(Type loaderType, Type contentType);

Parameters

loaderType
Type

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

contentType
Type

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

Exceptions

loaderType or contentType is null.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10