Click or drag to resize

ShellUtilitiesOpenPropertySheet Method (IDataObject, String, IEnumerableIntPtr, NullableGuid, String)

Opens the property sheet from a data object.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool OpenPropertySheet(
	IDataObject dataObject,
	string caption = null,
	IEnumerable<IntPtr> registryKeysHandles = null,
	Guid? defaultClsid = null,
	string startPage = null
)

Parameters

dataObject
Type: System.Runtime.InteropServices.ComTypesIDataObject
The data object.
caption (Optional)
Type: SystemString
The optional caption.
registryKeysHandles (Optional)
Type: System.Collections.GenericIEnumerableIntPtr
An optional list of registry keys handles that represent the CLSIDs of the individual property sheets.
defaultClsid (Optional)
Type: SystemNullableGuid
The optional default CLSID.
startPage (Optional)
Type: SystemString
The optional start page.

Return Value

Type: Boolean
true if the property sheet was successfully created; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataObject is null.
See Also