Share via


ResourceType.LoadPropertiesDeclaredOnThisType Method

Returns a list of properties declared by this resource type.

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

Syntax

'Declaration
Protected Overridable Function LoadPropertiesDeclaredOnThisType As IEnumerable(Of ResourceProperty)
'Usage
Dim returnValue As IEnumerable(Of ResourceProperty)

returnValue = Me.LoadPropertiesDeclaredOnThisType()
protected virtual IEnumerable<ResourceProperty> LoadPropertiesDeclaredOnThisType()
protected:
virtual IEnumerable<ResourceProperty^>^ LoadPropertiesDeclaredOnThisType()
abstract LoadPropertiesDeclaredOnThisType : unit -> IEnumerable<ResourceProperty> 
override LoadPropertiesDeclaredOnThisType : unit -> IEnumerable<ResourceProperty> 
protected function LoadPropertiesDeclaredOnThisType() : IEnumerable<ResourceProperty>

Return Value

Type: System.Collections.Generic.IEnumerable<ResourceProperty>
The list of properties declared on this type.

Remarks

The LoadPropertiesDeclaredOnThisType method enables you to defer loading of the properties of a resource type. This LoadPropertiesDeclaredOnThisType method is called only one time when either Properties or PropertiesDeclaredOnThisType properties are accessed.

See Also

Reference

ResourceType Class

System.Data.Services.Providers Namespace