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
'宣言
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, _
pvarValue)
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
)
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.
Permissions
- 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.