Compartir a través de


IProvidePropertyBuilder.ExecuteBuilder Method

Run the builder for a given property.

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

Syntax

'Declaration
Function ExecuteBuilder ( _
    dispid As Integer, _
    bstrGuidBldr As String, _
    pdispApp As Object, _
    hwndBldrOwner As Integer, _
    <OutAttribute> ByRef pvarValue As Object, _
    <OutAttribute> ByRef pfRetVal As Boolean _
) As Integer
int ExecuteBuilder(
    int dispid,
    string bstrGuidBldr,
    Object pdispApp,
    int hwndBldrOwner,
    out Object pvarValue,
    out bool pfRetVal
)
int ExecuteBuilder(
    [InAttribute] int dispid, 
    [InAttribute] String^ bstrGuidBldr, 
    [InAttribute] Object^ pdispApp, 
    [InAttribute] int hwndBldrOwner, 
    [InAttribute] [OutAttribute] Object^% pvarValue, 
    [OutAttribute] bool% pfRetVal
)
abstract ExecuteBuilder : 
        dispid:int * 
        bstrGuidBldr:string * 
        pdispApp:Object * 
        hwndBldrOwner:int * 
        pvarValue:Object byref * 
        pfRetVal:bool byref -> int
function ExecuteBuilder(
    dispid : int, 
    bstrGuidBldr : String, 
    pdispApp : Object, 
    hwndBldrOwner : int, 
    pvarValue : Object, 
    pfRetVal : boolean
) : int

Parameters

  • dispid
    Type: Int32

     [in] The dispatch ID of the property.

  • bstrGuidBldr
    Type: String

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

  • pdispApp
    Type: Object

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

  • hwndBldrOwner
    Type: Int32

     [in] HWND of the owner of the window the builder runs in.

  • pvarValue
    Type: Object%

     [in, out] Pointer to a variant containing an initial value and the returned value of the property.

  • 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