MetadataWorkspace.GetFunctions Method

Definition

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

Overloads

GetFunctions(String, String, DataSpace)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

GetFunctions(String, String, DataSpace, Boolean)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

GetFunctions(String, String, DataSpace)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::EdmFunction ^> ^ GetFunctions(System::String ^ name, System::String ^ namespaceName, System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmFunction> GetFunctions (string name, string namespaceName, System.Data.Metadata.Edm.DataSpace dataSpace);
member this.GetFunctions : string * string * System.Data.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmFunction>

Parameters

name
String

The name of the function.

namespaceName
String

The namespace of the function.

dataSpace
DataSpace

The conceptual model in which the functions are searched.

Returns

A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.

GetFunctions(String, String, DataSpace, Boolean)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::EdmFunction ^> ^ GetFunctions(System::String ^ name, System::String ^ namespaceName, System::Data::Metadata::Edm::DataSpace dataSpace, bool ignoreCase);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmFunction> GetFunctions (string name, string namespaceName, System.Data.Metadata.Edm.DataSpace dataSpace, bool ignoreCase);
member this.GetFunctions : string * string * System.Data.Metadata.Edm.DataSpace * bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.EdmFunction>

Parameters

name
String

The name of the function.

namespaceName
String

The namespace of the function.

dataSpace
DataSpace

The conceptual model in which the functions are searched.

ignoreCase
Boolean

true to perform the case-insensitive search; otherwise, false.

Returns

A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.

Applies to