TypeReference

The TypeReference object is of type PSObject and provides metadata information about a parameter or return value of an OData action or function.

Syntax

$operation.Parameters[0].Name

Following properties are available:

Type

Name

Description

string

Name

The name of the parameter or return value.

Type

Target

The target type metadata for the parameter or return value. This can be an entity type, a complex type, or the corresponding CLR type for a primitive type.

bool

IsNullable

Indicates whether the parameter or return value may have a $null value. For collections, the collection itself cannot be $null.

bool

IsCollection

Indicates whether the parameter or return value accepts a collection of values.