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

‘선언
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
‘사용 방법
Dim instance As IProvidePropertyBuilder
Dim dispid As Integer
Dim bstrGuidBldr As String
Dim pdispApp As Object
Dim hwndBldrOwner As Integer
Dim pvarValue As Object
Dim pfRetVal As Boolean
Dim returnValue As Integer

returnValue = instance.ExecuteBuilder(dispid, _
    bstrGuidBldr, pdispApp, hwndBldrOwner, _
    pvarValue, pfRetVal)
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: System.Int32
     [in] The dispatch ID of the property.
  • bstrGuidBldr
    Type: System.String
     [in] The GUID of the builder for the property.
  • pdispApp
    Type: System.Object
     [in] Pointer to the dispatch interface (IDispatch) of the builder.
  • hwndBldrOwner
    Type: System.Int32
     [in] HWND of the owner of the window the builder runs in.
  • pvarValue
    Type: System.Object%
     [in, out] Pointer to a variant containing an initial value and the returned value of the property.
  • 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.

.NET Framework Security

See Also

Reference

IProvidePropertyBuilder Interface

IProvidePropertyBuilder Members

Microsoft.VisualStudio.Shell.Interop Namespace