Freigeben über


DSRefClipboardObject.GetDSRef Method

Extracts the DSRef object from the DSRefClipboardObject.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable Function GetDSRef ( _
    serviceProvider As IServiceProvider _
) As Object
public virtual Object GetDSRef(
    IServiceProvider serviceProvider
)
public:
virtual Object^ GetDSRef(
    IServiceProvider^ serviceProvider
)
abstract GetDSRef : 
        serviceProvider:IServiceProvider -> Object 
override GetDSRef : 
        serviceProvider:IServiceProvider -> Object 
public function GetDSRef(
    serviceProvider : IServiceProvider
) : Object

Parameters

Return Value

Type: System.Object
An object representing the extracted DSRef object.

Exceptions

Exception Condition
ArgumentNullException

The serviceProvider parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DSRefClipboardObject Class

Microsoft.VisualStudio.Data.Framework Namespace

IDSRefProvider