IComNativeDescriptorHandler.GetAttributes(Object) 方法

定義

取得指定之元件的屬性。

public:
 System::ComponentModel::AttributeCollection ^ GetAttributes(System::Object ^ component);
public System.ComponentModel.AttributeCollection GetAttributes (object component);
abstract member GetAttributes : obj -> System.ComponentModel.AttributeCollection
Public Function GetAttributes (component As Object) As AttributeCollection

參數

component
Object

要為其取得屬性的元件。

傳回

component 之屬性的集合。

備註

注意

此 API 現已淘汰。 非過時的替代方式是 ComObjectType

適用於