IProvidePropertyBuilder::MapPropertyToBuilder Method (Int32, Int32, String^, Boolean)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int MapPropertyToBuilder(
	int dispid,
	int% pdwCtlBldType,
	String^% pbstrGuidBldr,
	[OutAttribute] bool% pfRetVal
)

Parameters

dispid
Type: System::Int32

 [in] The dispatch ID of the property.

pdwCtlBldType
Type: System::Int32

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

pbstrGuidBldr
Type: System::String^

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

pfRetVal
Type: System::Boolean

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

Return Value

Type: System::Int32

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

Return to top
Show: