DesignTimeXamlWriter Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new instance of the DesignTimeXamlWriter class with the specified text writer, XAML schema context, class name, and class namespace.
Namespace: System.Activities.Design.Xaml
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Sub New ( _
tw As TextWriter, _
xamlSchemaContext As XamlSchemaContext, _
className As String, _
classNamespace As String _
)
'Usage
Dim tw As TextWriter
Dim xamlSchemaContext As XamlSchemaContext
Dim className As String
Dim classNamespace As String
Dim instance As New DesignTimeXamlWriter(tw, xamlSchemaContext, _
className, classNamespace)
public DesignTimeXamlWriter(
TextWriter tw,
XamlSchemaContext xamlSchemaContext,
string className,
string classNamespace
)
public:
DesignTimeXamlWriter(
TextWriter^ tw,
XamlSchemaContext^ xamlSchemaContext,
String^ className,
String^ classNamespace
)
public function DesignTimeXamlWriter(
tw : TextWriter,
xamlSchemaContext : XamlSchemaContext,
className : String,
classNamespace : String
)
new :
tw:TextWriter *
xamlSchemaContext:XamlSchemaContext *
className:string *
classNamespace:string -> DesignTimeXamlWriter
Parameters
- tw
Type: System.IO.TextWriter
An object that provides the functionality for writing text to an output stream.
- xamlSchemaContext
Type: System.Xaml.XamlSchemaContext
A schema context for the production of XAML code.
- className
Type: System.String
The name of a type.
- classNamespace
Type: System.String
The namespace of the specified type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4