次の方法で共有


IVsPerPropertyBrowsing.DisplayChildProperties(Int32, Int32) Method

Definition

Allows properties of type VT_DISPATCH to be viewed recursively.

public:
 int DisplayChildProperties(int dispid, [Runtime::InteropServices::Out] int % pfDisplay);
int DisplayChildProperties(int dispid, [Runtime::InteropServices::Out] int & pfDisplay);
public int DisplayChildProperties (int dispid, out int pfDisplay);
abstract member DisplayChildProperties : int * int -> int
Public Function DisplayChildProperties (dispid As Integer, ByRef pfDisplay As Integer) As Integer

Parameters

dispid
Int32

[in] Specifies the dispatch ID.

pfDisplay
Int32

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

Returns

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.

Applies to