Delta.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 MustOverride 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 abstract bool TryGetPropertyType(
    string name,
    out Type type
)
public:
virtual bool TryGetPropertyType(
    String^ name, 
    [OutAttribute] Type^% type
) abstract
abstract TryGetPropertyType : 
        name:string * 
        type:Type byref -> bool
public abstract function TryGetPropertyType(
    name : String, 
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if the Property was found and false if not.

Implements

IDelta.TryGetPropertyType(String, Type%)

See Also

Reference

Delta Class

System.Web.Http.OData Namespace