EdmStructuredObject.TryGetPropertyType(String, Type) Method

Definition

Attempts to get the Type of the Property called name from the underlying Entity. Only properties that exist on Entity can be retrieved. Both modified and unmodified properties can be retrieved.

public override bool TryGetPropertyType (string name, out Type type);
override this.TryGetPropertyType : string * Type -> bool
Public Overrides Function TryGetPropertyType (name As String, ByRef type As Type) As Boolean

Parameters

name
String

The name of the Property

type
Type

The type of the Property

Returns

Returns true if the Property was found and false if not.

Applies to