ExtensionMethods.FindNavigationProperty 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.
Finds a navigation property declared in the definition of this reference by name.
public static Microsoft.OData.Edm.IEdmNavigationProperty FindNavigationProperty (this Microsoft.OData.Edm.IEdmStructuredTypeReference type, string name);
static member FindNavigationProperty : Microsoft.OData.Edm.IEdmStructuredTypeReference * string -> Microsoft.OData.Edm.IEdmNavigationProperty
<Extension()>
Public Function FindNavigationProperty (type As IEdmStructuredTypeReference, name As String) As IEdmNavigationProperty
Parameters
Reference to the calling object.
- name
- String
Name of the navigation property to find.
Returns
The requested navigation property if it exists. Otherwise, null.