XamlDeferLoadAttribute 构造函数   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 XamlDeferLoadAttribute 类的新实例。
重载
| XamlDeferLoadAttribute(String, String) | 使用类型的字符串名称初始化 XamlDeferLoadAttribute 类的新实例。 | 
| XamlDeferLoadAttribute(Type, Type) | 使用 CLR XamlDeferLoadAttribute 值初始化 Type 类的新实例。 | 
XamlDeferLoadAttribute(String, String)
使用类型的字符串名称初始化 XamlDeferLoadAttribute 类的新实例。
public:
 XamlDeferLoadAttribute(System::String ^ loaderType, System::String ^ contentType);public XamlDeferLoadAttribute(string loaderType, string contentType);new System.Windows.Markup.XamlDeferLoadAttribute : string * string -> System.Windows.Markup.XamlDeferLoadAttributePublic Sub New (loaderType As String, contentType As String)参数
- loaderType
- String
实现用于延迟加载行为的类型的字符串名称。
- contentType
- String
延迟加载行为的目标/内容类型的类型字符串名称。
例外
              loaderType 或 contentType 为 null。
另请参阅
适用于
XamlDeferLoadAttribute(Type, Type)
使用 CLR XamlDeferLoadAttribute 值初始化 Type 类的新实例。
public:
 XamlDeferLoadAttribute(Type ^ loaderType, Type ^ contentType);public XamlDeferLoadAttribute(Type loaderType, Type contentType);new System.Windows.Markup.XamlDeferLoadAttribute : Type * Type -> System.Windows.Markup.XamlDeferLoadAttributePublic Sub New (loaderType As Type, contentType As Type)参数
例外
              loaderType 或 contentType 为 null。