IProvidePropertyBuilder.MapPropertyToBuilder Method

Definition

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

C++/WinRT
int MapPropertyToBuilder(int dispid, [Runtime::InteropServices::Out] int & pdwCtlBldType, [Runtime::InteropServices::Out] std::wstring const & & pbstrGuidBldr, [Runtime::InteropServices::Out] bool & pfRetVal);

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

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022