Click or drag to resize

ExtensionsAddCFSTR_SHELLIDLIST Method

Adds a CFSTR_SHELLIDLIST format to the data object.

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

Parameters

formats
Type: 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