ActivityXamlServices.CreateReader Method
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.
Maps an x:Class
activity tree to an DynamicActivity or DynamicActivity<TResult>.
Overloads
CreateReader(Stream) |
Maps an |
CreateReader(XamlReader) |
Maps an |
CreateReader(XamlReader, XamlSchemaContext) |
Maps an |
Remarks
This overload is used for run-time scenarios.
CreateReader(Stream)
Maps an x:Class
activity tree from the specified stream to an DynamicActivity or DynamicActivity<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
Parameters
- stream
- Stream
The x:Class
content.
Returns
The ActivityBuilder or ActivityBuilder<TResult> content.
Applies to
CreateReader(XamlReader)
Maps an x:Class
activity tree from the specified reader to an DynamicActivity or DynamicActivity<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
Parameters
- innerReader
- XamlReader
The x:Class
content.
Returns
The ActivityBuilder or ActivityBuilder<TResult> content.
Applies to
CreateReader(XamlReader, XamlSchemaContext)
Maps an x:Class
activity tree from the specified reader to an DynamicActivity or DynamicActivity<TResult> using the specified schema context.
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
Parameters
- innerReader
- XamlReader
The x:Class
content.
- schemaContext
- XamlSchemaContext
The schema context.
Returns
The ActivityBuilder or ActivityBuilder<TResult> content.