Bewerken

Share via


ResourceProperty Class

Definition

Provides a type to describe a property on a resource.

public ref class ResourceProperty
public class ResourceProperty
type ResourceProperty = class
Public Class ResourceProperty
Inheritance
ResourceProperty

Remarks

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

Constructors

ResourceProperty(String, ResourcePropertyKind, ResourceType)

Initializes a new ResourceProperty for an open property.

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetReadOnly()

Sets the resource property to read-only.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to