Share via


ODataMetadataSelector.SelectStreamProperties Method

Definition

Alters the selected stream properties for the type which may get written with full metadata response.

public virtual System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmStructuralProperty> SelectStreamProperties (Microsoft.OData.Edm.IEdmStructuredType type, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmStructuralProperty> selectedStreamProperties);
abstract member SelectStreamProperties : Microsoft.OData.Edm.IEdmStructuredType * seq<Microsoft.OData.Edm.IEdmStructuralProperty> -> seq<Microsoft.OData.Edm.IEdmStructuralProperty>
override this.SelectStreamProperties : Microsoft.OData.Edm.IEdmStructuredType * seq<Microsoft.OData.Edm.IEdmStructuralProperty> -> seq<Microsoft.OData.Edm.IEdmStructuralProperty>
Public Overridable Function SelectStreamProperties (type As IEdmStructuredType, selectedStreamProperties As IEnumerable(Of IEdmStructuralProperty)) As IEnumerable(Of IEdmStructuralProperty)

Parameters

type
IEdmStructuredType

Edm type of the resource on which the navigation property exists.

selectedStreamProperties
IEnumerable<IEdmStructuralProperty>

enumerable of the selected stream properties.

Returns

The list of stream properties to be written.

Applies to