Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

8a5d17eb 6175 c407 d7ff 52c64eb1b6c3

haplokuon edited this page May 6, 2023 · 1 revision

AttributeDefinitionDictionary Class

netDxf 3.0.0 Library

Represents a dictionary of AttributeDefinitions.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public sealed class AttributeDefinitionDictionary : IDictionary<string, AttributeDefinition>, 
	ICollection<KeyValuePair<string, AttributeDefinition>>, IEnumerable<KeyValuePair<string, AttributeDefinition>>, 
	IEnumerable

VB

Public NotInheritable Class AttributeDefinitionDictionary
	Implements IDictionary(Of String, AttributeDefinition), 
	ICollection(Of KeyValuePair(Of String, AttributeDefinition)), IEnumerable(Of KeyValuePair(Of String, AttributeDefinition)), 
	IEnumerable

C++

public ref class AttributeDefinitionDictionary sealed : IDictionary<String^, AttributeDefinition^>, 
	ICollection<KeyValuePair<String^, AttributeDefinition^>>, IEnumerable<KeyValuePair<String^, AttributeDefinition^>>, 
	IEnumerable

F#

[<SealedAttribute>]
type AttributeDefinitionDictionary = 
    class
        interface IDictionary<string, AttributeDefinition>
        interface ICollection<KeyValuePair<string, AttributeDefinition>>
        interface IEnumerable<KeyValuePair<string, AttributeDefinition>>
        interface IEnumerable
    end
Inheritance Object → AttributeDefinitionDictionary
Implements ICollection(KeyValuePair(String, AttributeDefinition)), IDictionary(String, AttributeDefinition), IEnumerable(KeyValuePair(String, AttributeDefinition)), IEnumerable

Constructors

AttributeDefinitionDictionary() Initializes a new instance of AttributeDefinitionDictionary.
AttributeDefinitionDictionary(Int32) Initializes a new instance of AttributeDefinitionDictionary and has the specified initial capacity.

Properties

Count Gets the number of attribute definition contained in the current dictionary.
IsReadOnly Gets a value indicating whether the actual dictionary is read-only.
Item Gets or sets the attribute definition with the specified tag.
Tags Gets an ICollection containing the tags of the current dictionary.
Values Gets an ICollection containing the attribute definition list of the current dictionary.

Methods

Add Adds an attribute definition to the dictionary.
AddRange Adds an attribute definition list to the dictionary.
Clear Removes all attribute definition from the current dictionary.
ContainsTag Determines whether current dictionary contains an attribute definition with the specified tag.
ContainsValue Determines whether current dictionary contains a specified attribute definition.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the dictionary.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
Remove Removes an attribute definition with the specified tag from the current dictionary.
ToString Returns a string that represents the current object.
(Inherited from Object)
TryGetValue Gets the attribute definition associated with the specified tag.

Events

AddItem  
BeforeAddItem  
BeforeRemoveItem  
RemoveItem  

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally