Click or drag to resize

ExtensionsAddCFSTR_SHELLIDLIST Method

Adds a CFSTR_SHELLIDLIST format to the data object.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static void AddCFSTR_SHELLIDLIST(
	this IDataObjectFormats formats,
	IEnumerable<IWithIdList> idLists
)

Parameters

formats
Type: callback.ShellBoost.CoreIDataObjectFormats
The formats.
idLists
Type: System.Collections.GenericIEnumerableIWithIdList
The list of PIDLs. These PIDLs must have the same parent folder (it can be the desktop folder).

Return Value

Type: 
0 or an error code.

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).
Exceptions
ExceptionCondition
ArgumentNullExceptiondataObject is null.
See Also