Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an enum property to this edm type.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual EnumPropertyConfiguration AddEnumProperty(
PropertyInfo propertyInfo
)
public:
virtual EnumPropertyConfiguration^ AddEnumProperty(
PropertyInfo^ propertyInfo
)
abstract AddEnumProperty :
propertyInfo:PropertyInfo -> EnumPropertyConfiguration
override AddEnumProperty :
propertyInfo:PropertyInfo -> EnumPropertyConfiguration
Public Overridable Function AddEnumProperty (
propertyInfo As PropertyInfo
) As EnumPropertyConfiguration
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe property being added.
Return Value
Type: System.Web.OData.Builder.EnumPropertyConfiguration
The EnumPropertyConfiguration so that the property can be configured further.
See Also
StructuralTypeConfiguration Class
System.Web.OData.Builder Namespace
Return to top