Share via


AttributeTable.AttributedTypes Property

Gets an enumeration of all types which have attribute overrides of some kind, for example, on a property or on the type itself.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public ReadOnly Property AttributedTypes As IEnumerable(Of Type)
'Usage
Dim instance As AttributeTable 
Dim value As IEnumerable(Of Type)

value = instance.AttributedTypes
public IEnumerable<Type> AttributedTypes { get; }
public:
property IEnumerable<Type^>^ AttributedTypes {
    IEnumerable<Type^>^ get ();
}
public function get AttributedTypes () : IEnumerable<Type>

Property Value

Type: System.Collections.Generic.IEnumerable<Type>
An enumeration of types which have attribute overrides.

Remarks

Use AttributedTypes to determine what types will be refreshed when this attribute table is added to the metadata store.

Examples

The following code example shows how to get the types which have custom attributes. This code example is part of a larger example provided for the AttributeTable class.

Dim types As IEnumerable(Of Type) = attributes.AttributedTypes
IEnumerable<Type> types = attributes.AttributedTypes;

.NET Framework Security

See Also

Reference

AttributeTable Class

AttributeTable Members

Microsoft.Windows.Design.Metadata Namespace

AttributeTableBuilder

Other Resources

Metadata Store