IPerPropertyBrowsing2.ExecuteBuilder Method

Executes the builder for a given property and returns the value from the builder.

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


Function ExecuteBuilder ( _
    dispid As Integer, _
    ByRef rguidBuilder As Guid, _
    pdispApp As Object, _
    hwndBuilderOwner As IntPtr, _
    <OutAttribute> ByRef pvarValue As Object _
) As Integer
‘사용 방법
Dim instance As IPerPropertyBrowsing2
Dim dispid As Integer
Dim rguidBuilder As Guid
Dim pdispApp As Object
Dim hwndBuilderOwner As IntPtr
Dim pvarValue As Object
Dim returnValue As Integer

returnValue = instance.ExecuteBuilder(dispid, _
    rguidBuilder, pdispApp, hwndBuilderOwner, _
int ExecuteBuilder(
    int dispid,
    ref Guid rguidBuilder,
    Object pdispApp,
    IntPtr hwndBuilderOwner,
    out Object pvarValue
int ExecuteBuilder(
    [InAttribute] int dispid, 
    [InAttribute] Guid% rguidBuilder, 
    [InAttribute] Object^ pdispApp, 
    [InAttribute] IntPtr hwndBuilderOwner, 
    [InAttribute] [OutAttribute] Object^% pvarValue
abstract ExecuteBuilder : 
        dispid:int * 
        rguidBuilder:Guid byref * 
        pdispApp:Object * 
        hwndBuilderOwner:IntPtr * 
        pvarValue:Object byref -> int 
function ExecuteBuilder(
    dispid : int, 
    rguidBuilder : Guid, 
    pdispApp : Object, 
    hwndBuilderOwner : IntPtr, 
    pvarValue : Object
) : int


  • dispid
    Type: System.Int32
     [in] The dispatch ID of the property.
  • rguidBuilder
    Type: System.Guid%
     [in] The GUID of the builder for the property.
  • pdispApp
    Type: System.Object
     [in] Pointer to the dispatch interface (IDispatch) of the builder.
  • hwndBuilderOwner
    Type: System.IntPtr
     [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.

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


IPerPropertyBrowsing2 Interface

IPerPropertyBrowsing2 Members

Microsoft.VisualStudio.Shell.Interop Namespace