EdmFunctionBase.AddParameter Method (String, IEdmTypeReference)
Adds a parameter to this function (as the last parameter).
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function AddParameter ( _
name As String, _
type As IEdmTypeReference _
) As EdmFunctionParameter
'Usage
Dim instance As EdmFunctionBase
Dim name As String
Dim type As IEdmTypeReference
Dim returnValue As EdmFunctionParameter
returnValue = instance.AddParameter(name, _
type)
public EdmFunctionParameter AddParameter(
string name,
IEdmTypeReference type
)
public:
EdmFunctionParameter^ AddParameter(
String^ name,
IEdmTypeReference^ type
)
member AddParameter :
name:string *
type:IEdmTypeReference -> EdmFunctionParameter
public function AddParameter(
name : String,
type : IEdmTypeReference
) : EdmFunctionParameter
Parameters
- name
Type: System.String
The name of the parameter being added.
- type
Type: Microsoft.Data.Edm.IEdmTypeReference
The type of the parameter being added.
Return Value
Type: Microsoft.Data.Edm.Library.EdmFunctionParameter
The added parameter.