Поделиться через


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

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

.NET Framework Security

See Also

Reference

IVsPerPropertyBrowsing Interface

Microsoft.VisualStudio.Shell.Interop Namespace