다음을 통해 공유


XmlnsDefinitionAttribute.AssemblyName Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the name of the assembly that contains the ClrNamespace.

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

Syntax

'Declaration
Public Property AssemblyName As String
public string AssemblyName { get; set; }

Property Value

Type: System.String
The name of the assembly that contains the ClrNamespace.

Remarks

Specifying the AssemblyName is optional for an application of XmlnsDefinitionAttribute, which is why an value is not part of the XmlnsDefinitionAttribute constructor signature. If AssemblyName is not set in the attribute, the assembly that this attribute is applied to will be used to return the assembly value.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.