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
'宣言
Protected Overridable Sub AppendToDSRef ( _
dsRef As Object, _
typeName As String, _
identifier As Object(), _
parameters As Object() _
)
'使用
Dim dsRef As Object
Dim typeName As String
Dim identifier As Object()
Dim parameters As Object()
Me.AppendToDSRef(dsRef, typeName, _
identifier, parameters)
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
)
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: []An array containing the identifier parts of the object.
parameters
Type: []An array whose contents are specified by the Data Object Support XML.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The dsRef, typeName and/or identifier parameters is a 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.
Permissions
- 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.