IPerPropertyBrowsing2.ExecuteBuilder Method

Definition

Executes the builder for a given property and returns the value from the builder.

public:
 int ExecuteBuilder(int dispid, Guid % rguidBuilder, System::Object ^ pdispApp, IntPtr hwndBuilderOwner, [Runtime::InteropServices::Out] System::Object ^ % pvarValue);
public int ExecuteBuilder (int dispid, ref Guid rguidBuilder, object pdispApp, IntPtr hwndBuilderOwner, out object pvarValue);
abstract member ExecuteBuilder : int * Guid * obj * nativeint * obj -> int
Public Function ExecuteBuilder (dispid As Integer, ByRef rguidBuilder As Guid, pdispApp As Object, hwndBuilderOwner As IntPtr, ByRef pvarValue As Object) As Integer

Parameters

dispid
Int32

[in] The dispatch ID of the property.

rguidBuilder
Guid

[in] The GUID of the builder for the property.

pdispApp
Object

[in] Pointer to the dispatch interface (IDispatch) of the builder.

hwndBuilderOwner
IntPtr

nativeint

[in] HWND of the owner of the window the builder runs in.

pvarValue
Object

[in, out] Pointer to a variant containing an initial value and the returned value of the property.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to