編輯

共用方式為


XamlSchemaContext.FullyQualifyAssemblyNamesInClrNamespaces Property

Definition

Gets a value that specifies whether a XAML schema and its context use fully qualified assembly names in the values that are returned by the lookup API.

public:
 property bool FullyQualifyAssemblyNamesInClrNamespaces { bool get(); };
public bool FullyQualifyAssemblyNamesInClrNamespaces { get; }
member this.FullyQualifyAssemblyNamesInClrNamespaces : bool
Public ReadOnly Property FullyQualifyAssemblyNamesInClrNamespaces As Boolean

Property Value

true if a XAML schema and its context use fully qualified assembly names in the values that are returned by the lookup APIs; otherwise, false.

Remarks

This property returns the XamlSchemaContextSettings.FullyQualifyAssemblyNamesInClrNamespaces value that is established in the settings for the XamlSchemaContext(XamlSchemaContextSettings) constructor signature. If other signatures were used for construction or if XamlSchemaContextSettings.FullyQualifyAssemblyNamesInClrNamespaces is not specifically set to true, the value of this property is false.

The value of this property influences the strings that are returned by GetAllXamlNamespaces. If FullyQualifyAssemblyNamesInClrNamespaces is true, the assembly portion of the string reports the equivalent of Assembly.FullName.

Applies to