Share via


Collection Class

Represents a collection of data contracts.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Collection

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

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

The Collection type exposes the following members.

Constructors

  Name Description
Public method Collection Initializes a new instance of the Collection class.

Top

Properties

  Name Description
Public property CollectionId Gets or sets the identifier.
Public property Remove Gets or sets a value indicating whether the collection is to be removed.
Public property SortOrder Gets or sets an integer that indicates the sort order of members in the collection.
Public property Weight Gets or sets the weight of the collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace