Click or drag to resize

ShellUtilitiesGetBindOptions Method (IBindCtx, BIND_OPTS3, Boolean)

Returns the current binding options stored in a bind context.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int GetBindOptions(
	this IBindCtx bindContext,
	out BIND_OPTS3 options,
	bool throwOnError = true
)

Parameters

bindContext
Type: System.Runtime.InteropServices.ComTypesIBindCtx
The bind context.
options
Type: callback.ShellBoost.Core.WindowsShellBIND_OPTS3
The structure receive the binding options.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
An error code or 0.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBindCtx. 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
ArgumentNullExceptionbindContext is null.
See Also