Class UxmlNamespacePrefixAttribute
Attribute that can be used on an assembly to define an XML namespace prefix for a namespace.
Namespace: UnityEditor.UIElements
Syntax
public sealed class UxmlNamespacePrefixAttribute : Attribute
Constructors
UxmlNamespacePrefixAttribute(String, String)
Constructor.
Declaration
public UxmlNamespacePrefixAttribute(string ns, string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | ns | The XML/C# namespace to which a prefix will be associated. |
String | prefix | The prefix to associate to the namespace. |
Properties
ns
The namespace name.
Declaration
public string ns { get; }
Property Value
Type | Description |
---|---|
String |
prefix
The namespace prefix.
Declaration
public string prefix { get; }
Property Value
Type | Description |
---|---|
String |