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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.