Edit

Share via


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.

public:
 XamlDeferLoadAttribute(System::String ^ loaderType, System::String ^ contentType);
public XamlDeferLoadAttribute (string loaderType, string contentType);
new System.Windows.Markup.XamlDeferLoadAttribute : string * string -> System.Windows.Markup.XamlDeferLoadAttribute
Public Sub New (loaderType As String, contentType As String)

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

XamlDeferLoadAttribute(Type, Type)

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

public:
 XamlDeferLoadAttribute(Type ^ loaderType, Type ^ contentType);
public XamlDeferLoadAttribute (Type loaderType, Type contentType);
new System.Windows.Markup.XamlDeferLoadAttribute : Type * Type -> System.Windows.Markup.XamlDeferLoadAttribute
Public Sub New (loaderType As Type, contentType As Type)

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