ResourceProperty(String, ResourcePropertyKind, ResourceType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new ResourceProperty for an open property.
public:
ResourceProperty(System::String ^ name, System::Data::Services::Providers::ResourcePropertyKind kind, System::Data::Services::Providers::ResourceType ^ propertyResourceType);
public ResourceProperty (string name, System.Data.Services.Providers.ResourcePropertyKind kind, System.Data.Services.Providers.ResourceType propertyResourceType);
new System.Data.Services.Providers.ResourceProperty : string * System.Data.Services.Providers.ResourcePropertyKind * System.Data.Services.Providers.ResourceType -> System.Data.Services.Providers.ResourceProperty
Public Sub New (name As String, kind As ResourcePropertyKind, propertyResourceType As ResourceType)
Parameters
- name
- String
Property name for the property as string.
- propertyResourceType
- ResourceType
The ResourceType of the resource to which the property refers.
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 method will not properly escape these invalid EDM characters."