Share via


Delta<TEntityType>.TryGetPropertyType Method (String, Type)

 

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

public override bool TryGetPropertyType(
    string name,
    out Type type
)
public:
virtual bool TryGetPropertyType(
    String^ name,
    [OutAttribute] Type^% type
) override
override TryGetPropertyType : 
        name:string *
        type:Type byref -> bool
Public Overrides Function TryGetPropertyType (
    name As String,
    <OutAttribute> ByRef type As Type
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the property was found; otherwise, false.

Implements

IDelta.TryGetPropertyType(String, Type)IDelta.TryGetPropertyType(String, Type)

See Also

Delta<TEntityType> Class
System.Web.Http.OData Namespace

Return to top