Share via


Collection-Klasse

Represents a collection of objects.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.MasterDataServices..::..Collection

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "Collection", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Collection _
    Implements IExtensibleDataObject
'Usage
Dim instance As Collection
[DataContractAttribute(Name = "Collection", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Collection : IExtensibleDataObject
[DataContractAttribute(Name = L"Collection", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Collection : IExtensibleDataObject
[<DataContractAttribute(Name = "Collection", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Collection =  
    class
        interface IExtensibleDataObject
    end
public class Collection implements IExtensibleDataObject

Der Collection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Collection Initializes a new instance of the Collection class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CollectionId Gets or sets the ID of members in a collection.
Öffentliche Eigenschaft ExtensionData Gets or sets an object containing extra data.
Öffentliche Eigenschaft Remove Gets or sets a value indicating whether to remove a collection.
Öffentliche Eigenschaft SortOrder Gets or sets an integer that indicates the sort order of members in the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.