Partager via


IProvidePropertyBuilder.MapPropertyToBuilder Method

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)

Syntax

'Declaration
Function MapPropertyToBuilder ( _
    dispid As Integer, _
    <OutAttribute> ByRef pdwCtlBldType As Integer, _
    <OutAttribute> ByRef pbstrGuidBldr As String, _
    <OutAttribute> ByRef pfRetVal As Boolean _
) As Integer
int MapPropertyToBuilder(
    int dispid,
    out int pdwCtlBldType,
    out string pbstrGuidBldr,
    out bool pfRetVal
)
int MapPropertyToBuilder(
    [InAttribute] int dispid, 
    [InAttribute] [OutAttribute] int% pdwCtlBldType, 
    [InAttribute] [OutAttribute] String^% pbstrGuidBldr, 
    [OutAttribute] bool% pfRetVal
)
abstract MapPropertyToBuilder : 
        dispid:int * 
        pdwCtlBldType:int byref * 
        pbstrGuidBldr:string byref * 
        pfRetVal:bool byref -> int
function MapPropertyToBuilder(
    dispid : int, 
    pdwCtlBldType : int, 
    pbstrGuidBldr : String, 
    pfRetVal : boolean
) : int

Parameters

  • dispid
    Type: Int32

     [in] The dispatch ID of the property.

  • pdwCtlBldType
    Type: Int32%

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

  • pbstrGuidBldr
    Type: String%

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

  • pfRetVal
    Type: Boolean%

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

Return Value

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

.NET Framework Security

See Also

Reference

IProvidePropertyBuilder Interface

Microsoft.VisualStudio.Shell.Interop Namespace