EntitySetConfiguration<TEntityType>.FindBinding Method (String)
Finds the NavigationPropertyBindingConfiguration for the navigation property with the given name.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function FindBinding ( _
propertyName As String _
) As NavigationPropertyBindingConfiguration
'Usage
Dim instance As EntitySetConfiguration
Dim propertyName As String
Dim returnValue As NavigationPropertyBindingConfiguration
returnValue = instance.FindBinding(propertyName)
public NavigationPropertyBindingConfiguration FindBinding(
string propertyName
)
public:
NavigationPropertyBindingConfiguration^ FindBinding(
String^ propertyName
)
member FindBinding :
propertyName:string -> NavigationPropertyBindingConfiguration
public function FindBinding(
propertyName : String
) : NavigationPropertyBindingConfiguration
Parameters
- propertyName
Type: System.String
The name of the navigation property.
Return Value
Type: System.Web.Http.OData.Builder.NavigationPropertyBindingConfiguration
The binding, if found; otherwise, null.