This documentation is archived and is not being maintained.
ResourceType Class
Visual Studio 2010
Represents a data service primitive, complex, or entity type.
Assembly: System.Data.Services (in System.Data.Services.dll)
The ResourceType type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BaseType | Gets a reference to base resource type, if any. |
![]() | CanReflectOnInstanceType | Get whether the corresponding instance type represents the CLR type of this entity. |
![]() | CustomState | Gets or sets a placeholder to hold custom state information about a resource type that is defined by the developer. |
![]() | ETagProperties | Gets the list of properties for this type. |
![]() | FullName | Gets the full name of the resource. |
![]() | InstanceType | Reference to the CLR type that this resource represents. |
![]() | IsAbstract | Gets a Boolean value that indicates whether this is an abstract type. |
![]() | IsMediaLinkEntry | Gets or sets a Boolean value that is true if the resource type includes a default stream. |
![]() | IsOpenType | Gets whether the resource type has open properties. |
![]() | IsReadOnly | Gets a Boolean value that is true if this resource type has been set to read-only. |
![]() | KeyProperties | Gets a list of key properties for this type |
![]() | Name | Gets the name of the resource type. |
![]() | Namespace | Gets the namespace of the resource type. |
![]() | Properties | Gets a list of properties declared of this type that includes only properties defined on the type, not in the base type. |
![]() | PropertiesDeclaredOnThisType | List of properties declared on this type. |
![]() | ResourceTypeKind | Gets the ResourceTypeKind for the type. |
| Name | Description | |
|---|---|---|
![]() | AddEntityPropertyMappingAttribute | Adds an EntityPropertyMappingAttribute for the resource type. |
![]() | AddProperty | Adds the property supplied by the resourceProperty parameter to the type. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetPrimitiveResourceType | Gets a resource type that represent a primitive type when given a Type object. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadPropertiesDeclaredOnThisType | Returns a list of properties declared by this resource type. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetReadOnly | Sets the resource type to read-only. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
