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

f450ade2 a4a2 343a 7f00 7bae4c14ffed

haplokuon edited this page May 6, 2023 · 1 revision

XDataDictionary Class

netDxf 3.0.0 Library

Represents a dictionary of XData.

Definition

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

C#

public sealed class XDataDictionary : IDictionary<string, XData>, 
	ICollection<KeyValuePair<string, XData>>, IEnumerable<KeyValuePair<string, XData>>, 
	IEnumerable

VB

Public NotInheritable Class XDataDictionary
	Implements IDictionary(Of String, XData), 
	ICollection(Of KeyValuePair(Of String, XData)), IEnumerable(Of KeyValuePair(Of String, XData)), 
	IEnumerable

C++

public ref class XDataDictionary sealed : IDictionary<String^, XData^>, 
	ICollection<KeyValuePair<String^, XData^>>, IEnumerable<KeyValuePair<String^, XData^>>, 
	IEnumerable

F#

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

Constructors

XDataDictionary() Initializes a new instance of XDataDictionary.
XDataDictionary(IEnumerable(XData)) Initializes a new instance of XDataDictionary and has the specified items.
XDataDictionary(Int32) Initializes a new instance of XDataDictionary and has the specified initial capacity.

Properties

AppIds Gets an ICollection containing the application registry names of the current dictionary.
Count Gets the number of extended data contained in the current dictionary.
IsReadOnly Gets a value indicating whether the actual dictionary is read-only.
Item Gets or sets the extended data with the specified application registry name.
Values Gets an ICollection containing the extended data list of the current dictionary.

Methods

Add Adds an extended data to the current dictionary.
AddRange Adds a list of extended data to the current dictionary.
Clear Removes all extended data from the current dictionary.
ContainsAppId Determines whether current dictionary contains an extended data with the specified application registry name.
ContainsValue Determines whether current dictionary contains a specified extended data.
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 extended data with the specified application registry name from the current dictionary.
ToString Returns a string that represents the current object.
(Inherited from Object)
TryGetValue Gets the extended data associated with the specified application registry name.

Events

AddAppReg  
RemoveAppReg  

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally