DropFormatAttribute Klasse

Definition

Gibt das Format an, das ein IDropHandler behandelt.

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
Vererbung
DropFormatAttribute
Attribute

Hinweise

Sie können mehrere Instanzen dieses Attributs angeben, um mehrere Instanzen von zu verarbeiten DataFormats . Dieses Attribut sollte bei einem Export von verwendet werden IDropHandlerProvider .

Konstruktoren

DropFormatAttribute(String)

Initialisiert eine neue Instanz von DropFormatAttribute mit dem angegebenen Drop-Format.

Eigenschaften

DropFormats

Ruft das Drop-Format ab.

Gilt für