Dela via


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)

Syntax

'Declaration
Public Structure VSOBJCLIPFORMAT
public struct VSOBJCLIPFORMAT
public value class VSOBJCLIPFORMAT
[<Sealed>]
type VSOBJCLIPFORMAT =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSOBJCLIPFORMAT type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field cfFormat Specifies a registered clipboard format.
Public field dwOptions Specifies a composite format. Values are taken from the _VSOBJCLIPFORMATOPTIONS enumeration.
Public field tymed Specifies the storage medium to be used. Values are taken from the TYMED enumeration described in the MSDN Library Platform SDK documentation set.

Top

Remarks

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.

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace