Share via


MetadataProviderCallback Delegate

Specifies a custom mechanism for providing metadata attributes to the FeatureManager class.

Namespace:  Microsoft.Windows.Design.Features
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Delegate Function MetadataProviderCallback ( _
    type As Type, _
    attributeType As Type _
) As IEnumerable(Of Object)
public delegate IEnumerable<Object> MetadataProviderCallback(
    Type type,
    Type attributeType
)
public delegate IEnumerable<Object^>^ MetadataProviderCallback(
    Type^ type, 
    Type^ attributeType
)
type MetadataProviderCallback = 
    delegate of 
        type:Type * 
        attributeType:Type -> IEnumerable<Object>
JScript does not support delegates.

Parameters

  • type
    Type: System.Type
    The type to get attributes for.
  • attributeType
    Type: System.Type
    The type of attribute to enumerate. Can not be nulla null reference (Nothing in Visual Basic).

Return Value

Type: System.Collections.Generic.IEnumerable<Object>
An enumeration of attributes.

See Also

Reference

Microsoft.Windows.Design.Features Namespace