DSRefBuilder.AppendToDSRef Method (Object, String, array<Object[], array<Object )
Appends information about a data object with the specified type and identifier to a specified existing DSRef object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Sub AppendToDSRef ( _
dsRef As Object, _
typeName As String, _
identifier As Object(), _
parameters As Object() _
)
protected virtual void AppendToDSRef(
Object dsRef,
string typeName,
Object[] identifier,
Object[] parameters
)
protected:
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
protected function AppendToDSRef(
dsRef : Object,
typeName : String,
identifier : Object[],
parameters : Object[]
)
Parameters
dsRef
Type: System.ObjectThe existing DSRef object to which information is appended.
typeName
Type: System.StringThe name of the type of object.
identifier
Type: array<System.Object[]An array containing the identifier parts of the object.
parameters
Type: array<System.Object[]An array whose contents are specified by the Data Object Support XML.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The dsRef, typeName and/or identifier parameters is nulla null reference (Nothing in Visual Basic). |
InvalidOperationException | The site is null. |
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.