Поделиться через


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)

Syntax

'Declaration
Function ExecuteBuilder ( _
    dispid As Integer, _
    ByRef rguidBuilder As Guid, _
    pdispApp As Object, _
    hwndBuilderOwner As IntPtr, _
    <OutAttribute> ByRef pvarValue As Object _
) As Integer
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

Parameters

  • 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

Reference

IPerPropertyBrowsing2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace