IComNativeDescriptorHandler.GetAttributes(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定元件的屬性。
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
備註
Note
這個 API 現在已經過時了。 非過時的替代方法是 ComObjectType。