IProvidePropertyBuilder.MapPropertyToBuilder Method
Maps the dispatch ID of a property to a builder for the property.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaración
Function MapPropertyToBuilder ( _
dispid As Integer, _
<OutAttribute> ByRef pdwCtlBldType As Integer, _
<OutAttribute> ByRef pbstrGuidBldr As String, _
<OutAttribute> ByRef pfRetVal As Boolean _
) As Integer
'Uso
Dim instance As IProvidePropertyBuilder
Dim dispid As Integer
Dim pdwCtlBldType As Integer
Dim pbstrGuidBldr As String
Dim pfRetVal As Boolean
Dim returnValue As Integer
returnValue = instance.MapPropertyToBuilder(dispid, _
pdwCtlBldType, pbstrGuidBldr, pfRetVal)
int MapPropertyToBuilder(
int dispid,
out int pdwCtlBldType,
out string pbstrGuidBldr,
out bool pfRetVal
)
int MapPropertyToBuilder(
[InAttribute] int dispid,
[InAttribute] [OutAttribute] int% pdwCtlBldType,
[InAttribute] [OutAttribute] String^% pbstrGuidBldr,
[OutAttribute] bool% pfRetVal
)
abstract MapPropertyToBuilder :
dispid:int *
pdwCtlBldType:int byref *
pbstrGuidBldr:string byref *
pfRetVal:bool byref -> int
function MapPropertyToBuilder(
dispid : int,
pdwCtlBldType : int,
pbstrGuidBldr : String,
pfRetVal : boolean
) : int
Parameters
- dispid
Type: System.Int32
[in] The dispatch ID of the property.
- pdwCtlBldType
Type: System.Int32%
[in, out] Pointer to a value indicating the builder type (Type).
- pbstrGuidBldr
Type: System.String%
[in, out] Pointer to the GUID for the property's builder.
- 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.
See Also
Reference
IProvidePropertyBuilder Interface