Share via


StructuralTypeConfiguration.AddComplexProperty Method

Adds a complex property to this edm type.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Overridable Function AddComplexProperty ( _
    propertyInfo As PropertyInfo _
) As ComplexPropertyConfiguration
'Usage
Dim instance As StructuralTypeConfiguration 
Dim propertyInfo As PropertyInfo 
Dim returnValue As ComplexPropertyConfiguration 

returnValue = instance.AddComplexProperty(propertyInfo)
public virtual ComplexPropertyConfiguration AddComplexProperty(
    PropertyInfo propertyInfo
)
public:
virtual ComplexPropertyConfiguration^ AddComplexProperty(
    PropertyInfo^ propertyInfo
)
abstract AddComplexProperty : 
        propertyInfo:PropertyInfo -> ComplexPropertyConfiguration  
override AddComplexProperty : 
        propertyInfo:PropertyInfo -> ComplexPropertyConfiguration
public function AddComplexProperty(
    propertyInfo : PropertyInfo
) : ComplexPropertyConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.ComplexPropertyConfiguration
The ComplexPropertyConfiguration so that the property can be configured further.

See Also

Reference

StructuralTypeConfiguration Class

System.Web.Http.OData.Builder Namespace