DestinationCollection
סקירה כללית
DestinationCollection הוא שיעור ב Aspose.PDF FOSS עבור .NET. מורשת מ : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>.
אוסף המקום הנקרא מופיע כ IEnumerable<KeyValuePair <string, object» עבור Aspose.Pdf שוויון.
שיעור זה מספק 10 שיטות לעבוד עם אובייקטים DestinationCollection בתוכניות .NET. שיטות זמינות כוללות: Add, Clear, Contains, CopyTo, GetEnumerator, GetExplicitDestination, GetPageNumber, IndexOf, Remove. כל החברים הציבוריים זמינים לכל יישום .NET לאחר התקנת Aspose.PDF FOSS עבור חבילת .Net. רכוש : Count, IsReadOnly.
מאפיינים
| שם | סוג | Access | תיאור |
|---|---|---|---|
Count | int | קראו | מספר היעד (הכנסות עץ המקום הנקרא, בנוסף לכניסה מקומית). |
IsReadOnly | bool | קראו | תמיד שקר: קוראים יכולים להתרחב דרך העלילה המקומית. |
שיטות
| Signature | תיאור |
|---|---|
GetPageNumber(destinameName: string, useCache: bool) | קבל את מספר העמוד מבוסס על 1 עבור יעד בשם. |
GetPageNumber(destinameName: string) | יתרון מנוחה תמיד מתגבר. |
GetExplicitDestination(destinameName: string, useCache: bool) | פתרון יעד שנקרא ל ExplicitDestination; חוזר אפס כאשר לא נמצא. |
Add(item: System.Collections.Generic.KeyValuePair<string, object>) | הוסף זוג (שם → יעד) לשטח המקומי. |
Clear() | הסר כל כניסה. |
Contains(value: System.Collections.Generic.KeyValuePair<string, object>) | האם הערך נמצא בתמונה (המטרות הנקראות או העלילה). |
CopyTo(array: System.Collections.Generic.KeyValuePair<string, object>[], arrayIndex: int) | העתק את התמונה לתוך סדר החל ב- arrayIndex. |
IndexOf(value: System.Collections.Generic.KeyValuePair<string, object>) | מדד הערך בתמונה, או -1. |
Remove(item: System.Collections.Generic.KeyValuePair<string, object>) | הסר פריט תואם כניסה מעל. |
GetEnumerator() | צלצול GetEnumerator על האינדקס הזה DestinationCollection. |