VSOBJCLIPFORMAT Structure

 

Holds clipboard format attributes for an object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public struct VSOBJCLIPFORMAT

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldcfFormat

Specifies a registered clipboard format.

System_CAPS_pubfielddwOptions

Specifies a composite format. Values are taken from the _VSOBJCLIPFORMATOPTIONS enumeration.

System_CAPS_pubfieldtymed

Specifies the storage medium to be used. Values are taken from the TYMED enumeration described in the MSDN Library Platform SDK documentation set.

Use this structure to relay clipboard format information to the environment. The cfFormat parameter can be one of the predefined clipboard formats or the value returned when you register a custom format. For information on registering clipboard formats, see RegisterClipboardFormat in the MSDN Library Platform SDK documentation set. Specify the storage medium you use for the indicated format in tymed. If you are supporting a composite format, set dwOptions to CFO_COMPOSITEFMT, or CFO_NONE if you are not.

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: