ModelItem.GetAttributes Method (TypeIdentifier)
Gets the attributes of the requested type that are declared on this item.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Function GetAttributes ( _
attributeTypeIdentifier As TypeIdentifier _
) As IEnumerable(Of Object)
public virtual IEnumerable<Object> GetAttributes(
TypeIdentifier attributeTypeIdentifier
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
TypeIdentifier attributeTypeIdentifier
)
abstract GetAttributes :
attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object>
override GetAttributes :
attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object>
public function GetAttributes(
attributeTypeIdentifier : TypeIdentifier
) : IEnumerable<Object>
Parameters
- attributeTypeIdentifier
Type: Microsoft.Windows.Design.Metadata.TypeIdentifier
An identifier for the requested type.
Return Value
Type: System.Collections.Generic.IEnumerable<Object>
A collection of attributes of the requested type declared on this item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace