Condividi tramite


DropFormatAttribute Class

Definition

Specifies the format that an IDropHandler handles.

public ref class DropFormatAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class DropFormatAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type DropFormatAttribute = class
    inherit Attribute
Public NotInheritable Class DropFormatAttribute
Inherits Attribute
Inheritance
DropFormatAttribute
Attributes

Remarks

You can specify multiple instances of this attribute in order to handle multiple DataFormats. This attribute should be used on an export of IDropHandlerProvider.

Constructors

DropFormatAttribute(String)

Initializes a new instance of DropFormatAttribute with the specified drop format.

Properties

DropFormats

Gets the drop format.

Applies to