DevForce Help Reference
DiscoverableTypeAttribute Class
Members 


Defines an attribute that marks a class as being discoverable by the DevForce framework.
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or  _
    AttributeTargets.Struct Or  _
    AttributeTargets.Enum, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class DiscoverableTypeAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As DiscoverableTypeAttribute
[AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class DiscoverableTypeAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
Remarks
The DiscoverableType attribute is used in several situations to identify types to be discovered. When using the DiscoverableTypeMode.KnownType the attribute can be used in place of the IKnownType interface to mark a type as a "known type" for serialization purposes. (See the DataContractSerializer for information on known types.)
Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.EntityModel.DiscoverableTypeAttribute

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DiscoverableTypeAttribute Members
IdeaBlade.EntityModel Namespace

Send Feedback