DSRefBuilder.BuildDSRef(String, Object[], Object[]) Method

Definition

Builds a DSRef object that identifies a data object with the specified type and identifier.

public:
 System::Object ^ BuildDSRef(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::Object ^> ^ parameters);
public object BuildDSRef (string typeName, object[] identifier, object[] parameters);
member this.BuildDSRef : string * obj[] * obj[] -> obj
Public Function BuildDSRef (typeName As String, identifier As Object(), parameters As Object()) As Object

Parameters

typeName
String

The name of the type of object.

identifier
Object[]

The identifier of the object.

parameters
Object[]

An array whose contents are defined by the particular implementation of BuildDSRef(String, Object[], Object[]) method and specified by the Data Object Support XML. Such information can be used to provide extra data indicating how to build the DSRef object. This allows an implementation of BuildDSRef(String, Object[], Object[]) to be more data driven.

Returns

Returns a DSRef object that identifies a specified data object.

Exceptions

The typeName and/or identifier parameters are null.

The parameters argument is in an invalid format.

Could not create DSRef object.

Applies to