Share 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

'Declaration
Function DisplayChildProperties ( _
    dispid As Integer, _
    <OutAttribute> ByRef pfDisplay As Integer _
) As Integer
int DisplayChildProperties(
    int dispid,
    out int pfDisplay
)
int DisplayChildProperties(
    int dispid, 
    [OutAttribute] int% pfDisplay
)
abstract DisplayChildProperties : 
        dispid:int * 
        pfDisplay:int byref -> int
function DisplayChildProperties(
    dispid : int, 
    pfDisplay : int
) : int

Parameters

  • dispid
    Type: Int32

    [in] Specifies the dispatch ID.

  • pfDisplay
    Type: Int32%

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

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

IVsPerPropertyBrowsing Interface

Microsoft.VisualStudio.Shell.Interop Namespace