IProvidePropertyBuilder.MapPropertyToBuilder Method

Definition

Maps the dispatch ID of a property to a builder for the property.

public:
 int MapPropertyToBuilder(int dispid, [Runtime::InteropServices::Out] int % pdwCtlBldType, [Runtime::InteropServices::Out] System::String ^ % pbstrGuidBldr, [Runtime::InteropServices::Out] bool % pfRetVal);
int MapPropertyToBuilder(int dispid, [Runtime::InteropServices::Out] int & pdwCtlBldType, [Runtime::InteropServices::Out] std::wstring const & & pbstrGuidBldr, [Runtime::InteropServices::Out] bool & pfRetVal);
public int MapPropertyToBuilder (int dispid, out int pdwCtlBldType, out string pbstrGuidBldr, out bool pfRetVal);
abstract member MapPropertyToBuilder : int * int * string * bool -> int
Public Function MapPropertyToBuilder (dispid As Integer, ByRef pdwCtlBldType As Integer, ByRef pbstrGuidBldr As String, ByRef pfRetVal As Boolean) As Integer

Parameters

dispid
Int32

[in] The dispatch ID of the property.

pdwCtlBldType
Int32

[in, out] Pointer to a value indicating the builder type (Type).

pbstrGuidBldr
String

[in, out] Pointer to the GUID for the property's builder.

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