DSRefBuilder.AppendToDSRef Method
Appends information about a data object with the specified type and identifier to a specified existing DSRef object.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public Overridable Sub AppendToDSRef ( _
dsRef As Object, _
typeName As String, _
identifier As Object(), _
parameters As Object() _
)
public virtual void AppendToDSRef(
Object dsRef,
string typeName,
Object[] identifier,
Object[] parameters
)
public:
virtual void AppendToDSRef(
Object^ dsRef,
String^ typeName,
array<Object^>^ identifier,
array<Object^>^ parameters
)
abstract AppendToDSRef :
dsRef:Object *
typeName:string *
identifier:Object[] *
parameters:Object[] -> unit
override AppendToDSRef :
dsRef:Object *
typeName:string *
identifier:Object[] *
parameters:Object[] -> unit
public function AppendToDSRef(
dsRef : Object,
typeName : String,
identifier : Object[],
parameters : Object[]
)
Parameters
- dsRef
Type: System.Object
The existing DSRef object to which information is appended.
- typeName
Type: System.String
The name of the object type.
- identifier
Type: array<System.Object[]
The identifier of the object.
- parameters
Type: array<System.Object[]
An array whose contents are defined by the particular implementation of BuildDSRef 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 to be more data driven.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The dsRef, typeName and/or identifier parameters are null. |
ArgumentException | The parameters argument is in an invalid format. |
Remarks
The base implementation of this method uses the parameter information in the format described in the remarks section for this class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.