Class DictionaryEditor
DictionaryEditor class
فئة للوصول إلى قاموس شجرة المستند (قاموس المستند، قاموس الصفحة، قاموس الموارد).
public class DictionaryEditor : IDictionary<string, ICosPdfPrimitive>
Constructors
Properties
| Name | Description |
|---|
| AllKeys { get; } | مجموعة كاملة من المفاتيح. تحتوي على مفاتيح قابلة للتعديل وغير قابلة للتعديل. |
| Count { get; } | يحصل على عدد العناصر الموجودة في DictionaryEditor. |
| IsReadOnly { get; } | يحصل على قيمة تشير إلى ما إذا كانت DictionaryEditor للقراءة فقط. |
| Item { get; set; } | يحصل أو يحدد العنصر بالمفتاح المحدد. |
| Keys { get; } | مجموعة من المفاتيح القابلة للتعديل. |
| Values { get; } | يحصل على ICollection تحتوي على القيم في DictionaryEditor. |
Methods
| Name | Description |
|---|
| Add(KeyValuePair<string, ICosPdfPrimitive>) | تعيين ICosPdfPrimitive إلى القاموس. |
| Add(string, ICosPdfPrimitive) | تعيين ICosPdfPrimitive إلى القاموس. |
| Clear() | يزيل جميع العناصر من DictionaryEditor. |
| Contains(KeyValuePair<string, ICosPdfPrimitive>) | يحدد ما إذا كانت DictionaryEditor تحتوي على قيمة معينة. |
| ContainsKey(string) | يحدد ما إذا كانت DictionaryEditor تحتوي على عنصر بالمفتاح المحدد. |
| CopyTo(KeyValuePair<string, ICosPdfPrimitive>[], int) | |
| GetEnumerator() | يعيد عدادًا يتكرر عبر المجموعة. |
| Remove(KeyValuePair<string, ICosPdfPrimitive>) | يزيل أول ظهور لكائن معين من DictionaryEditor. |
| Remove(string) | يزيل العنصر بالمفتاح المحدد من DictionaryEditor. |
| TryGetValue(string, out ICosPdfPrimitive) | للوصول إلى نوع البيانات البسيطة مثل السلسلة، الاسم، البوليان، الرقم. يعيد null للأنواع الأخرى. |
See Also