GraphPropertyCollection Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
public ref class GraphPropertyCollection : System::Collections::Generic::ICollection<Microsoft::VisualStudio::GraphModel::GraphProperty ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphProperty ^>
public class GraphPropertyCollection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.GraphModel.GraphProperty>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphProperty>
type GraphPropertyCollection = class
interface ICollection<GraphProperty>
interface seq<GraphProperty>
interface IEnumerable
Public Class GraphPropertyCollection
Implements ICollection(Of GraphProperty), IEnumerable(Of GraphProperty)
- Warisan
-
GraphPropertyCollection
- Penerapan
Konstruktor
| GraphPropertyCollection(GraphSchema) |
Properti
| Count |
Mendapatkan jumlah elemen yang terkandung dalam koleksi GraphProperties |
| IsReadOnly |
Mendapatkan nilai yang menunjukkan apakah koleksi GraphProperties bersifat Baca-saja |
| Properties |
Mendapatkan GraphProperties |
| Schema | |
Metode
| Add(GraphProperty) |
Menambahkan item ke koleksi GraphProperties |
| AddNewProperty(String, Type) |
Mendaftarkan GraphProperty baru dengan pembuat metadata default. |
| AddNewProperty(String, Type, Func<GraphMetadata>) |
Mendaftarkan GraphProperty baru |
| Clear() |
Menghapus semua item dari koleksi |
| Contains(GraphProperty) |
Menentukan apakah koleksi berisi nilai tertentu |
| CopyTo(GraphProperty[], Int32) |
Menyalin elemen koleksi ke System.Array, dimulai pada indeks System.Array tertentu |
| GetEnumerator() |
Mengembalikan enumerator untuk properti grafik |
| Remove(GraphProperty) |
Menghapus kemunculan pertama objek tertentu dari koleksi |
Implementasi Antarmuka Eksplisit
| IEnumerable<GraphProperty>.GetEnumerator() |
Mengembalikan enumerator untuk properti grafik |
Metode Ekstensi
| EmptyIfNull<T>(IEnumerable<T>) |
Kembalikan enumerasi ini jika tidak null. Jika null mengembalikan enumerasi kosong. |