Share via


IDelta.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
Function TryGetPropertyType ( _
    name As String, _
    <OutAttribute> ByRef type As Type _
) As Boolean
'Usage
Dim instance As IDelta 
Dim name As String 
Dim type As Type 
Dim returnValue As Boolean 

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

Parameters

Return Value

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

See Also

Reference

IDelta Interface

System.Web.Http.OData Namespace