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
- serviceProvider
Type: System.IServiceProvider
A global Visual Studio service provider.
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
- 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.