Méthode ODataMessageReader.ReadProperty (IEdmTypeReference)
Lit un ODataProperty en tant que charge utile de message.
Espace de noms : Microsoft.Data.OData
Assembly : Microsoft.Data.OData (en Microsoft.Data.OData.dll)
Syntaxe
'Déclaration
Public Function ReadProperty ( _
expectedPropertyTypeReference As IEdmTypeReference _
) As ODataProperty
'Utilisation
Dim instance As ODataMessageReader
Dim expectedPropertyTypeReference As IEdmTypeReference
Dim returnValue As ODataProperty
returnValue = instance.ReadProperty(expectedPropertyTypeReference)
public ODataProperty ReadProperty(
IEdmTypeReference expectedPropertyTypeReference
)
public:
ODataProperty^ ReadProperty(
IEdmTypeReference^ expectedPropertyTypeReference
)
member ReadProperty :
expectedPropertyTypeReference:IEdmTypeReference -> ODataProperty
public function ReadProperty(
expectedPropertyTypeReference : IEdmTypeReference
) : ODataProperty
Paramètres
- expectedPropertyTypeReference
Type : Microsoft.Data.Edm.IEdmTypeReference
Type de ressource attendu de la propriété à lire.
Valeur de retour
Type : Microsoft.Data.OData.ODataProperty
Propriété lue dans la charge utile.