DesignTimeXamlWriter.WriteNamespace Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates and stores a XAML root-node namespace declaration that is put together during run time.

Namespace:  System.Activities.Design.Xaml
Assembly:  System.Activities.Design (in System.Activities.Design.dll)


Public Overrides Sub WriteNamespace ( _
    namespaceDeclaration As NamespaceDeclaration _
Dim instance As DesignTimeXamlWriter
Dim namespaceDeclaration As NamespaceDeclaration

public override void WriteNamespace(
    NamespaceDeclaration namespaceDeclaration
virtual void WriteNamespace(
    NamespaceDeclaration^ namespaceDeclaration
) override
public override function WriteNamespace(
    namespaceDeclaration : NamespaceDeclaration
abstract WriteNamespace : 
        namespaceDeclaration:NamespaceDeclaration -> unit 
override WriteNamespace : 
        namespaceDeclaration:NamespaceDeclaration -> unit 


  • namespaceDeclaration
    Type: System.Xaml.NamespaceDeclaration
    An object that identifies a namespace and a prefix that is used to identify all of the elements that belong to that namespace.

.NET Framework Security


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

See Also


DesignTimeXamlWriter Class

DesignTimeXamlWriter Members

System.Activities.Design.Xaml Namespace