ResourceProperty Class

 

Provides a type to describe a property on a resource.

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

System.Object
  System.Data.Services.Providers.ResourceProperty

public class ResourceProperty

NameDescription
System_CAPS_pubmethodResourceProperty(String, ResourcePropertyKind, ResourceType)

Initializes a new ResourceProperty for an open property.

NameDescription
System_CAPS_pubpropertyCanReflectOnInstanceTypeProperty

Gets a value that indicates whether this property can be accessed through reflection on the declaring resource instance type.

System_CAPS_pubpropertyCustomState

Gets or sets custom state information about a resource property that is defined by the developer.

System_CAPS_pubpropertyIsReadOnly

Gets a Boolean value that indicates whether the property is read-only.

System_CAPS_pubpropertyKind

Gets the kind of the resource property with regard to the resource.

System_CAPS_pubpropertyMimeType

Gets or sets MIME type for the property.

System_CAPS_pubpropertyName

Gets the name of the resource property.

System_CAPS_pubpropertyResourceType

Gets the type of the resource property.

NameDescription
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_pubmethodGetType()

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodSetReadOnly()

Sets the resource property to read-only.

System_CAPS_pubmethodToString()

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

The following Unicode characters are allowed in XML names but not in identifiers in EDM:

  1. U+00B7 '•'

  2. U+0387 '·'

  3. U+06DE '۞'

  4. U+212E '℮'

If your property names can contain these characters, make sure that they are escaped properly in your provider implementation. The EncodeName method will not properly escape these invalid EDM characters."

.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: