XamlDeferLoadAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Exceptions
loaderType
or contentType
is null
.