CollectionResourceType Class

Use this class to represent a DataService type representing a collection property of primitive or complex types.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.ResourceType
    System.Data.Services.Providers.CollectionResourceType

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Class CollectionResourceType _
    Inherits ResourceType
'Usage
Dim instance As CollectionResourceType
public class CollectionResourceType : ResourceType
public ref class CollectionResourceType : public ResourceType
type CollectionResourceType =  
    class 
        inherit ResourceType 
    end
public class CollectionResourceType extends ResourceType

The CollectionResourceType type exposes the following members.

Properties

  Name Description
Public property BaseType Gets a reference to base resource type, if any. (Inherited from ResourceType.)
Public property CanReflectOnInstanceType Gets whether the corresponding instance type represents the CLR type of this entity. (Inherited from ResourceType.)
Public property CustomState Gets or sets a placeholder to hold custom state information about a resource type that is defined by the developer. (Inherited from ResourceType.)
Public property ETagProperties Gets the list of properties for this type. (Inherited from ResourceType.)
Public property FullName Gets the full name of the resource. (Inherited from ResourceType.)
Public property InstanceType Reference to the CLR type that this resource represents. (Inherited from ResourceType.)
Public property IsAbstract Gets a Boolean value that indicates whether this is an abstract type. (Inherited from ResourceType.)
Public property IsMediaLinkEntry Gets or sets a Boolean value that is true if the resource type includes a default stream. (Inherited from ResourceType.)
Public property IsOpenType Gets whether the resource type has open properties. (Inherited from ResourceType.)
Public property IsReadOnly Gets a Boolean value that is true if this resource type has been set to read-only. (Inherited from ResourceType.)
Public property ItemType Resource type of a single item in the collection.
Public property KeyProperties Gets a list of key properties for this type (Inherited from ResourceType.)
Public property Name Gets the name of the resource type. (Inherited from ResourceType.)
Public property Namespace Gets the namespace of the resource type. (Inherited from ResourceType.)
Public property Properties Gets a list of properties declared on this type that includes only properties defined on the type, not in the base type. (Inherited from ResourceType.)
Public property PropertiesDeclaredOnThisType Gets or sets the list of properties declared on this type. (Inherited from ResourceType.)
Public property ResourceTypeKind Gets the ResourceTypeKind for the type. (Inherited from ResourceType.)

Top

Methods

  Name Description
Public method AddEntityPropertyMappingAttribute Adds an EntityPropertyMappingAttribute for the resource type. (Inherited from ResourceType.)
Public method AddProperty Adds the property supplied by the resourceProperty parameter to the type. (Inherited from ResourceType.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method LoadPropertiesDeclaredOnThisType Returns a list of properties declared by this resource type. (Inherited from ResourceType.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetReadOnly Sets the resource type to read-only. (Inherited from ResourceType.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Data.Services.Providers Namespace