NewItemTypesAttribute.Types Property
Gets a list of Type objects that this attribute declares as being valid new item types.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public ReadOnly Property Types As IEnumerable(Of Type)
'Usage
Dim instance As NewItemTypesAttribute
Dim value As IEnumerable(Of Type)
value = instance.Types
public IEnumerable<Type> Types { get; }
public:
property IEnumerable<Type^>^ Types {
IEnumerable<Type^>^ get ();
}
public function get Types () : IEnumerable<Type>
Property Value
Type: System.Collections.Generic.IEnumerable<Type>
An enumeration of the types that this attribute guarantees to be valid new item types.
Remarks
The object returned by this property is guaranteed to be non-nulla null reference (Nothing in Visual Basic).
.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.PropertyEditing Namespace