DataConnectionProperties.ICustomTypeDescriptor.GetAttributes 方法
擷取自訂屬性的集合中指定之物件的。
命名空間: Microsoft.VisualStudio.Data
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)
語法
'宣告
Private Function GetAttributes As AttributeCollection
Implements ICustomTypeDescriptor.GetAttributes
AttributeCollection ICustomTypeDescriptor.GetAttributes()
private:
virtual AttributeCollection^ GetAttributes() sealed = ICustomTypeDescriptor::GetAttributes
private abstract GetAttributes : unit -> AttributeCollection
private override GetAttributes : unit -> AttributeCollection
JScript 不支援明確介面實作。
傳回值
類型:AttributeCollection
傳回包含這個物件的 AttributeCollection 執行個體屬性。
實作
ICustomTypeDescriptor.GetAttributes
備註
這個方法 GetAttributes 提供方法的實作。 如需詳細資訊 .NET Framework 在類別庫中看到 GetAttributes 方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。