Partager via


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.Object

    The existing DSRef object to which information is appended.

  • 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

See Also

Reference

DSRefBuilder Class

AppendToDSRef Overload

Microsoft.VisualStudio.Data.Framework Namespace