ResourceProperty Class
Provides a type to describe a property on a resource.
Inheritance Hierarchy
System.Object
System.Data.Services.Providers.ResourceProperty
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Class ResourceProperty
'Usage
Dim instance As ResourceProperty
public class ResourceProperty
public ref class ResourceProperty
type ResourceProperty = class end
public class ResourceProperty
The ResourceProperty type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ResourceProperty | Initializes a new ResourceProperty for an open property. |
Top
Properties
Name | Description | |
---|---|---|
CanReflectOnInstanceTypeProperty | Gets a value that indicates whether this property can be accessed through reflection on the declaring resource instance type. | |
CustomState | Gets or sets custom state information about a resource property that is defined by the developer. | |
IsReadOnly | Gets a Boolean value that indicates whether the property is read-only. | |
Kind | Gets the kind of the resource property with regard to the resource. | |
MimeType | Gets or sets MIME type for the property. | |
Name | Gets the name of the resource property. | |
ResourceType | Gets the type of the resource property. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetReadOnly | Sets the resource property to read-only. | |
ToString | (Inherited from Object.) |
Top
Remarks
The following Unicode characters are allowed in XML names but not in identifiers in EDM:
U+00B7 '•'
U+0387 '·'
U+06DE '۞'
U+212E '℮'
If your property names can contain these characters, make sure that they are escaped properly in your provider implementation. The EncodeName(String) method will not properly escape these invalid EDM characters."
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.