Partager via


MethodDescriptor.Attributes Property

.NET Framework 4

Attributes attached to this method.

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Overridable Property Attributes As IEnumerable(Of Attribute)
    Get 
    Set
'Usage
Dim instance As MethodDescriptor 
Dim value As IEnumerable(Of Attribute)

value = instance.Attributes

instance.Attributes = value
public virtual IEnumerable<Attribute> Attributes { get; set; }
public:
virtual property IEnumerable<Attribute^>^ Attributes {
    IEnumerable<Attribute^>^ get ();
    void set (IEnumerable<Attribute^>^ value);
}
abstract Attributes : IEnumerable<Attribute> with get, set 
override Attributes : IEnumerable<Attribute> with get, set
function get Attributes () : IEnumerable<Attribute>
function set Attributes (value : IEnumerable<Attribute>)

Property Value

Type: System.Collections.Generic.IEnumerable<Attribute>
Returns IEnumerable<T>.

See Also

Reference

MethodDescriptor Class

Microsoft.AspNet.SignalR.Hubs Namespace