Partager via


IVsPerPropertyBrowsing.DisplayChildProperties Method

Allows properties of type VT_DISPATCH to be viewed recursively.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function DisplayChildProperties ( _
    dispid As Integer, _
    <OutAttribute> ByRef pfDisplay As Integer _
) As Integer
'Utilisation
Dim instance As IVsPerPropertyBrowsing
Dim dispid As Integer
Dim pfDisplay As Integer
Dim returnValue As Integer

returnValue = instance.DisplayChildProperties(dispid, _
    pfDisplay)
int DisplayChildProperties(
    int dispid,
    out int pfDisplay
)
int DisplayChildProperties(
    int dispid, 
    [OutAttribute] int% pfDisplay
)
function DisplayChildProperties(
    dispid : int, 
    pfDisplay : int
) : int

Parameters

  • pfDisplay
    Type: System.Int32%

    [out] Pointer to a flag indicating whether the property can be displayed recursively.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPerPropertyBrowsing::DisplayChildProperties(
   DISPID dispid,
   [out,retval]BOOL* pfDisplay
);

Allows properties of type VT_DISPATCH to be viewed recursively. Non-null VT_DISPATCH properties will have the "+" expandable glyph next to them and can be expanded or collapsed by the user. Returning a not S_OK return code or false for pfDisplay will suppress this feature.

Permissions

See Also

Reference

IVsPerPropertyBrowsing Interface

IVsPerPropertyBrowsing Members

Microsoft.VisualStudio.Shell.Interop Namespace