XmlnsDefinitionAttribute.AssemblyName Property


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

Gets or sets the name of the assembly associated with the attribute.

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

public string AssemblyName { get; set; }

Property Value

Type: System.String

The assembly name.

If the assembly name is not set in the attribute itself, then you should determine the information based on the assembly that the attribute is applied to. This could be done using reflection APIs, or potentially by accessing the XAML schema context.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top