Freigeben über


ResourceType.LoadPropertiesDeclaredOnThisType-Methode

Gibt eine Liste der von diesem Ressourcentyp deklarierten Eigenschaften zurück.

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>

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<ResourceProperty>
Liste von Eigenschaften, die für diesen Typ deklariert sind.

Hinweise

Die LoadPropertiesDeclaredOnThisType-Methode ermöglicht es Ihnen, das Laden der Eigenschaften eines Ressourcentyps zu verzögern. Diese LoadPropertiesDeclaredOnThisType-Methode wird nur einmal aufgerufen, wenn auf Properties- oder PropertiesDeclaredOnThisType-Eigenschaften zugegriffen wird.

Siehe auch

Verweis

ResourceType Klasse

System.Data.Services.Providers-Namespace