Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.Metadata Namespace