ContentTypePropertyCollection
İçindekiler
[
Saklamak
]ContentTypePropertyCollection class
Bir koleksiyonContentTypeProperty
ek bilgileri temsil eden nesneler.
public class ContentTypePropertyCollection : CollectionBase<ContentTypeProperty>
Özellikleri
İsim | Tanım |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Belirli bir dizine göre içerik türü özelliğini alır. (2 indexers) |
Item { get; set; } |
yöntemler
İsim | Tanım |
---|---|
Add(string, string) | İçerik türü özellik bilgilerini ekler. |
Add(string, string, string) | İçerik türü özellik bilgilerini ekler. |
BinarySearch(ContentTypeProperty) | |
BinarySearch(ContentTypeProperty, IComparer<ContentTypeProperty>) | |
BinarySearch(int, int, ContentTypeProperty, IComparer<ContentTypeProperty>) | |
Clear() | |
Contains(ContentTypeProperty) | |
CopyTo(ContentTypeProperty[]) | |
CopyTo(ContentTypeProperty[], int) | |
CopyTo(int, ContentTypeProperty[], int, int) | |
Exists(Predicate<ContentTypeProperty>) | |
Find(Predicate<ContentTypeProperty>) | |
FindAll(Predicate<ContentTypeProperty>) | |
FindIndex(Predicate<ContentTypeProperty>) | |
FindIndex(int, Predicate<ContentTypeProperty>) | |
FindIndex(int, int, Predicate<ContentTypeProperty>) | |
FindLast(Predicate<ContentTypeProperty>) | |
FindLastIndex(Predicate<ContentTypeProperty>) | |
FindLastIndex(int, Predicate<ContentTypeProperty>) | |
FindLastIndex(int, int, Predicate<ContentTypeProperty>) | |
GetEnumerator() | |
IndexOf(ContentTypeProperty) | |
IndexOf(ContentTypeProperty, int) | |
IndexOf(ContentTypeProperty, int, int) | |
LastIndexOf(ContentTypeProperty) | |
LastIndexOf(ContentTypeProperty, int) | |
LastIndexOf(ContentTypeProperty, int, int) | |
RemoveAt(int) |
Örnekler
[C#]
//Bir Çalışma Kitabı nesnesini başlatma
Workbook workbook = new Workbook();
//Yeni bir özellik ekleyin.
workbook.ContentTypeProperties.Add("Admin", "Aspose", "text");
//Excel dosyasını kaydedin
workbook.Save("book1.xlsm");
[Visual Basic]
'Bir Çalışma Kitabı nesnesini başlatma
Dim workbook As Workbook = New Workbook()
'Yeni bir mülk ekleyin.
workbook.ContentTypeProperties.Add("Admin", "Aspose", "text")
'Excel dosyasını kaydedin
workbook.Save("book1.xlsm")
Ayrıca bakınız
- class CollectionBase<T>
- class ContentTypeProperty
- ad alanı Aspose.Cells.Properties
- toplantı Aspose.Cells