XmlnsCompatibleWithAttribute Constructor (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the XmlnsCompatibleWithAttribute class.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

public XmlnsCompatibleWithAttribute(
	string oldNamespace,
	string newNamespace
)

Parameters

oldNamespace
Type: System.String

The reference XAML namespace identifier.

newNamespace
Type: System.String

The subsuming XAML namespace identifier.

Exception Condition
ArgumentNullException

oldNamespace or newNamespace are null.

.NET Framework
Available since 3.0
Return to top
Show: