ActivityXamlServices.CreateReader 方法

定义

x:Class 活动树映射到 DynamicActivityDynamicActivity<TResult>

重载

CreateReader(Stream)

x:Class 活动树从指定流映射到 DynamicActivityDynamicActivity<TResult>

CreateReader(XamlReader)

x:Class 活动树从指定读取器映射到 DynamicActivityDynamicActivity<TResult>

CreateReader(XamlReader, XamlSchemaContext)

使用指定的架构上下文将 x:Class 活动树从指定的读取器映射到 DynamicActivityDynamicActivity<TResult>

注解

此重载用于运行时方案。

CreateReader(Stream)

x:Class 活动树从指定流映射到 DynamicActivityDynamicActivity<TResult>

public:
 static System::Xaml::XamlReader ^ CreateReader(System::IO::Stream ^ stream);
public static System.Xaml.XamlReader CreateReader (System.IO.Stream stream);
static member CreateReader : System.IO.Stream -> System.Xaml.XamlReader
Public Shared Function CreateReader (stream As Stream) As XamlReader

参数

stream
Stream

x:Class 内容。

返回

ActivityBuilderActivityBuilder<TResult> 内容。

适用于

CreateReader(XamlReader)

x:Class 活动树从指定读取器映射到 DynamicActivityDynamicActivity<TResult>

public:
 static System::Xaml::XamlReader ^ CreateReader(System::Xaml::XamlReader ^ innerReader);
public static System.Xaml.XamlReader CreateReader (System.Xaml.XamlReader innerReader);
static member CreateReader : System.Xaml.XamlReader -> System.Xaml.XamlReader
Public Shared Function CreateReader (innerReader As XamlReader) As XamlReader

参数

innerReader
XamlReader

x:Class 内容。

返回

ActivityBuilderActivityBuilder<TResult> 内容。

适用于

CreateReader(XamlReader, XamlSchemaContext)

使用指定的架构上下文将 x:Class 活动树从指定的读取器映射到 DynamicActivityDynamicActivity<TResult>

public:
 static System::Xaml::XamlReader ^ CreateReader(System::Xaml::XamlReader ^ innerReader, System::Xaml::XamlSchemaContext ^ schemaContext);
public static System.Xaml.XamlReader CreateReader (System.Xaml.XamlReader innerReader, System.Xaml.XamlSchemaContext schemaContext);
static member CreateReader : System.Xaml.XamlReader * System.Xaml.XamlSchemaContext -> System.Xaml.XamlReader
Public Shared Function CreateReader (innerReader As XamlReader, schemaContext As XamlSchemaContext) As XamlReader

参数

innerReader
XamlReader

x:Class 内容。

schemaContext
XamlSchemaContext

架构上下文。

返回

ActivityBuilderActivityBuilder<TResult> 内容。

适用于