Share via


Delta.TryGetPropertyType Method (String, Type)

 

Attempts to get the Type of the Property called name from the underlying Entity.

Remarks

Only properties that exist on Entity can be retrieved. Both modified and unmodified properties can be retrieved.

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

Syntax

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 MustOverride Function TryGetPropertyType (
    name As String,
    <OutAttribute> ByRef type As Type
) As 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

Delta Class
System.Web.OData Namespace

Return to top