Class SvgAttributeAttribute
Specifies the SVG attribute name of the associated property.
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Event)]
public class SvgAttributeAttribute : Attribute
Constructors
| Improve this Doc View SourceSvgAttributeAttribute(String, String)
Initializes a new instance of the SvgAttributeAttribute class with the specified SVG attribute name and namespace.
Declaration
public SvgAttributeAttribute(string name, string nameSpace)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SVG attribute. |
| System.String | nameSpace | The namespace of the SVG attribute (e.g. http://www.w3.org/2000/svg). |
Fields
| Improve this Doc View SourceXLinkNamespace
Declaration
public const string XLinkNamespace = "http://www.w3.org/1999/xlink"
Field Value
| Type | Description |
|---|---|
| System.String |
XmlNamespace
Declaration
public const string XmlNamespace = "http://www.w3.org/XML/1998/namespace"
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
| Improve this Doc View SourceName
Gets the name of the SVG attribute.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
NameSpace
Gets the namespace of the SVG attribute.
Declaration
public string NameSpace { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |