IDTToolsOptionsPage.GetProperties(Object) 方法

定义

返回包含指定的自定义“工具选项”页中所包含的所有属性的对象。

public:
 void GetProperties([Runtime::InteropServices::Out] System::Object ^ % PropertiesObject);
void GetProperties([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & PropertiesObject);
[System.Runtime.InteropServices.DispId(2)]
public void GetProperties (out object PropertiesObject);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member GetProperties : obj -> unit
Public Sub GetProperties (ByRef PropertiesObject As Object)

参数

PropertiesObject
Object

“工具选项”对象。

属性

注解

当你 Properties[] 使用对应于此控件的类别和页面调用时, GetProperties 将调用,并且控件将创建 Properties[] 集合。 GetPropertiesNULL如果你不想实现属性,则可以返回,但你的优势在于实现了属性。

若要创建自定义 选项 页,请创建一个 ActiveX 控件,设置所需的注册表设置,然后实现此接口。 有关详细信息,请参阅 控制选项设置

适用于