Edit

Share via


XmlAttributeProperties.SetXmlnsDefinition(DependencyObject, String) Method

Definition

Sets the value of the XmlnsDefinition attached property of the specified DependencyObject.

public:
 static void SetXmlnsDefinition(System::Windows::DependencyObject ^ dependencyObject, System::String ^ value);
public static void SetXmlnsDefinition (System.Windows.DependencyObject dependencyObject, string value);
static member SetXmlnsDefinition : System.Windows.DependencyObject * string -> unit
Public Shared Sub SetXmlnsDefinition (dependencyObject As DependencyObject, value As String)

Parameters

dependencyObject
DependencyObject

The object on which to set the XmlnsDefinition property.

value
String

The XML namespace definition in string form.

Exceptions

dependencyObject is null.

Applies to