DSRefClipboardObject.SetDSRef Method
Adds the DSRef object to the DSRefClipboardObject.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Sub SetDSRef ( _
dsRef As Object _
)
public virtual void SetDSRef(
Object dsRef
)
public:
virtual void SetDSRef(
Object^ dsRef
)
abstract SetDSRef :
dsRef:Object -> unit
override SetDSRef :
dsRef:Object -> unit
public function SetDSRef(
dsRef : Object
)
Parameters
- dsRef
Type: System.Object
The DSRef object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The dsRef parameter is nulla null reference (Nothing in Visual Basic). |
ArgumentNullException | The dsRef parameter is invalid. |
.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.