ResourceType Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a data service primitive, complex, or entity type.

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

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

public class ResourceType

NameDescription
System_CAPS_pubmethodResourceType(Type, ResourceTypeKind, ResourceType, String, String, Boolean)

Creates an instance of a data service ResourceType.

NameDescription
System_CAPS_pubpropertyBaseType

Gets a reference to base resource type, if any.

System_CAPS_pubpropertyCanReflectOnInstanceType

Get whether the corresponding instance type represents the CLR type of this entity.

System_CAPS_pubpropertyCustomState

Gets or sets a placeholder to hold custom state information about a resource type that is defined by the developer.

System_CAPS_pubpropertyETagProperties

Gets the list of properties for this type.

System_CAPS_pubpropertyFullName

Gets the full name of the resource.

System_CAPS_pubpropertyInstanceType

Reference to the CLR type that this resource represents.

System_CAPS_pubpropertyIsAbstract

Gets a Boolean value that indicates whether this is an abstract type.

System_CAPS_pubpropertyIsMediaLinkEntry

Gets or sets a Boolean value that is true if the resource type includes a default stream.

System_CAPS_pubpropertyIsOpenType

Gets whether the resource type has open properties.

System_CAPS_pubpropertyIsReadOnly

Gets a Boolean value that is true if this resource type has been set to read-only.

System_CAPS_pubpropertyKeyProperties

Gets a list of key properties for this type

System_CAPS_pubpropertyName

Gets the name of the resource type.

System_CAPS_pubpropertyNamespace

Gets the namespace of the resource type.

System_CAPS_pubpropertyProperties

Gets a list of properties declared of this type that includes only properties defined on the type, not in the base type.

System_CAPS_pubpropertyPropertiesDeclaredOnThisType

List of properties declared on this type.

System_CAPS_pubpropertyResourceTypeKind

Gets the ResourceTypeKind for the type.

NameDescription
System_CAPS_pubmethodAddEntityPropertyMappingAttribute(EntityPropertyMappingAttribute)

Adds an EntityPropertyMappingAttribute for the resource type.

System_CAPS_pubmethodAddProperty(ResourceProperty)

Adds the property supplied by the resourceProperty parameter to the type.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetPrimitiveResourceType(Type)

Gets a resource type that represent a primitive type when given a Type object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodLoadPropertiesDeclaredOnThisType()

Returns a list of properties declared by this resource type.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetReadOnly()

Sets the resource type to read-only.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Nested types are not supported as resource types.

.NET Framework
Available since 3.5

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

Return to top
Show: