Partager via


IProvidePropertyBuilder.ExecuteBuilder Method

Definition

Overloads

ExecuteBuilder(Int32, String, Object, Int32, Object, Boolean)

Run the builder for a given property.

ExecuteBuilder(Int32, String, Object, IntPtr, Object, Boolean)

ExecuteBuilder(Int32, String, Object, Int32, Object, Boolean)

Run the builder for a given property.

public:
 int ExecuteBuilder(int dispid, System::String ^ bstrGuidBldr, System::Object ^ pdispApp, int hwndBldrOwner, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] bool % pfRetVal);
int ExecuteBuilder(int dispid, std::wstring const & bstrGuidBldr, winrt::Windows::Foundation::IInspectable const & pdispApp, int hwndBldrOwner, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvarValue, [Runtime::InteropServices::Out] bool & pfRetVal);
public int ExecuteBuilder (int dispid, string bstrGuidBldr, object pdispApp, int hwndBldrOwner, out object pvarValue, out bool pfRetVal);
abstract member ExecuteBuilder : int * string * obj * int * obj * bool -> int
Public Function ExecuteBuilder (dispid As Integer, bstrGuidBldr As String, pdispApp As Object, hwndBldrOwner As Integer, ByRef pvarValue As Object, ByRef pfRetVal As Boolean) As Integer

Parameters

dispid
Int32

[in] The dispatch ID of the property.

bstrGuidBldr
String

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

pdispApp
Object

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

hwndBldrOwner
Int32

[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.

pfRetVal
Boolean

[out] Pointer to a Boolean indicating success (true) or failure of the builder.

Returns

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

Applies to

ExecuteBuilder(Int32, String, Object, IntPtr, Object, Boolean)

public:
 int ExecuteBuilder(int dispid, System::String ^ bstrGuidBldr, System::Object ^ pdispApp, IntPtr hwndBldrOwner, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] bool % pfRetVal);
public int ExecuteBuilder (int dispid, string bstrGuidBldr, object pdispApp, IntPtr hwndBldrOwner, out object pvarValue, out bool pfRetVal);
abstract member ExecuteBuilder : int * string * obj * nativeint * obj * bool -> int
Public Function ExecuteBuilder (dispid As Integer, bstrGuidBldr As String, pdispApp As Object, hwndBldrOwner As IntPtr, ByRef pvarValue As Object, ByRef pfRetVal As Boolean) As Integer

Parameters

dispid
Int32
bstrGuidBldr
String
pdispApp
Object
hwndBldrOwner
IntPtr

nativeint

pvarValue
Object
pfRetVal
Boolean

Returns

Applies to