IVsPerPropertyBrowsing::DisplayChildProperties Method (Int32, Int32)

 

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)

int DisplayChildProperties(
	int dispid,
	[OutAttribute] int% pfDisplay
)

Parameters

dispid
Type: System::Int32

[in] Specifies the dispatch ID.

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.

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.

Return to top
Show: