EdmStructuredObject.TryGetPropertyType(String, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.