IVsPerPropertyBrowsing.DisplayChildProperties(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许 VT_DISPATCH 以递归方式查看类型的属性。
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
参数
- dispid
- Int32
中指定调度 ID。
- pfDisplay
- Int32
弄指向标志的指针,该标志指示是否可以以递归方式显示属性。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsPerPropertyBrowsing::DisplayChildProperties(
DISPID dispid,
[out,retval]BOOL* pfDisplay
);
允许 VT_DISPATCH 以递归方式查看类型的属性。 非 null VT_DISPATCH 属性旁会有 "+" 可扩充标志符号,用户可以对其进行扩展或折叠。 返回 not S_OK 返回代码或 false for pfDisplay 将禁止显示此功能。