IPerPropertyBrowsing2.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

'Declaration
Function MapPropertyToBuilder ( _
    dispid As Integer, _
    <OutAttribute> ByRef pguidBuilder As Guid, _
    <OutAttribute> ByRef pdwType As UInteger _
) As Integer
'Usage
Dim instance As IPerPropertyBrowsing2 
Dim dispid As Integer 
Dim pguidBuilder As Guid 
Dim pdwType As UInteger 
Dim returnValue As Integer 

returnValue = instance.MapPropertyToBuilder(dispid, _
    pguidBuilder, pdwType)
int MapPropertyToBuilder(
    int dispid,
    out Guid pguidBuilder,
    out uint pdwType
)
int MapPropertyToBuilder(
    [InAttribute] int dispid, 
    [OutAttribute] Guid% pguidBuilder, 
    [OutAttribute] unsigned int% pdwType
)
function MapPropertyToBuilder(
    dispid : int, 
    pguidBuilder : Guid, 
    pdwType : uint
) : int

Parameters

  • dispid
    Type: System.Int32

     [in] The dispatch ID of the property.

  • pguidBuilder
    Type: System.Guid%

     [out] Pointer to the GUID for the property's builder.

  • pdwType
    Type: System.UInt32%

     [out] Pointer to a value indicating the builder type (Type).

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

IPerPropertyBrowsing2 Members

Microsoft.VisualStudio.Shell.Interop Namespace