DropFormatAttribute Class

 

Specifies the drop format that an IDropHandler handles.

Namespace:   Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Text.Editor.DragDrop.DropFormatAttribute

[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class DropFormatAttribute : Attribute

NameDescription
System_CAPS_pubmethodDropFormatAttribute(String)

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

NameDescription
System_CAPS_pubpropertyDropFormats

Gets the drop format.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

You can specify multiple instances of this attribute in order to handle multiple DataFormat types. This attribute is used on an export of IDropHandlerProvider.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: