DomainServiceDescription.Attributes Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets or sets a collection of attributes on the DomainService type.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Property Attributes As AttributeCollection
Get
Set
'Usage
Dim instance As DomainServiceDescription
Dim value As AttributeCollection
value = instance.Attributes
instance.Attributes = value
public AttributeCollection Attributes { get; set; }
public:
property AttributeCollection^ Attributes {
AttributeCollection^ get ();
void set (AttributeCollection^ value);
}
member Attributes : AttributeCollection with get, set
function get Attributes () : AttributeCollection
function set Attributes (value : AttributeCollection)
Property Value
Type: System.ComponentModel.AttributeCollection
A collection of attributes on the DomainService type.
Remarks
The collection includes attributes decorated on the type directly in addition to attributes surfaced from implemented interfaces.