Click or drag to resize

ExtensionsAddFormat Method (IDataObjectFormats, Int32, Byte)

Adds a format to the data object. This format will be used only if at least one DataObject is added.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void AddFormat(
	this IDataObjectFormats formats,
	int format,
	byte[] data
)

Parameters

formats
Type: ShellBoost.CoreIDataObjectFormats
The formats.
format
Type: SystemInt32
The format.
data
Type: SystemByte
The data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataObjectFormats. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also