Delta<TEntityType>.TryGetPropertyType Method

Attempts to get the Type of the property called name from the underlying entity.

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Overrides Function TryGetPropertyType ( _
    name As String, _
    <OutAttribute> ByRef type As Type _
) As Boolean
'Usage
Dim instance As Delta 
Dim name As String 
Dim type As Type 
Dim returnValue As Boolean 

returnValue = instance.TryGetPropertyType(name, _
    type)
public override bool TryGetPropertyType(
    string name,
    out Type type
)
public:
virtual bool TryGetPropertyType(
    String^ name, 
    [OutAttribute] Type^% type
) override
abstract TryGetPropertyType : 
        name:string * 
        type:Type byref -> bool  
override TryGetPropertyType : 
        name:string * 
        type:Type byref -> bool
public override function TryGetPropertyType(
    name : String, 
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the property was found; otherwise, false.

Implements

IDelta.TryGetPropertyType(String, Type%)

See Also

Reference

Delta<TEntityType> Class

System.Web.Http.OData Namespace