ACadSharp.XData.ExtendedDataDictionary - DomCR/ACadSharp GitHub Wiki
ExtendedDataDictionary Class
Dictionary containing all the extended data for a giving , each entry is identified with an key that identifies the application that has added the collection of Extended Data (XData) into the object.
Definition
Namespace: ACadSharp.XData
C#
public class ExtendedDataDictionary
Properties
Returns | Name | Summary |
---|---|---|
CadObject |
Owner | Owner of the Extended Data dictionary. |
Methods
Returns | Name | Summary |
---|---|---|
Void |
Add(ACadSharp.Tables.AppId, ACadSharp.XData.ExtendedData) | Add ExtendedData for a specific to the Dictionary. |
Void |
Add(ACadSharp.Tables.AppId, System.Collections.Generic.IEnumerable{ACadSharp.XData.ExtendedDataRecord}) | Add ExtendedData for a specific to the Dictionary. |
Void |
Add(ACadSharp.Tables.AppId) | Add an empty entry of ExtendedData for a given . |
Void |
Clear | Clear all Dictionary entries. |
Boolean |
ContainsKey(ACadSharp.Tables.AppId) | Check whether a given AppId is in the Dictionary. |
Boolean |
ContainsKeyName(System.String) | Check whether a given AppId is in the Dictionary. |
ExtendedData |
Get(ACadSharp.Tables.AppId) | Get ExtendedData for a specific from the Dictionary. |
ExtendedData |
Get(System.String) | Get the Extended data for a given name. |
IEnumerator<KeyValuePair<AppId, ExtendedData>> |
GetEnumerator | |
IDictionary<String, ExtendedData> |
GetExtendedDataByName | Get the different extended data by it's name. |
Boolean |
TryGet(ACadSharp.Tables.AppId, ACadSharp.XData.ExtendedData@) | Try to get ExtendedData for a specific from the Dictionary. |
Boolean |
TryGet(System.String, ACadSharp.XData.ExtendedData@) | Try to get ExtendedData for a specific name from the Dictionary. |