GraphDataObject.GetSourceGuid Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the source guid for the given data object.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function GetSourceGuid ( _
data As IDataObject _
) As Guid
public static Guid GetSourceGuid(
IDataObject data
)
public:
static Guid GetSourceGuid(
IDataObject^ data
)
static member GetSourceGuid :
data:IDataObject -> Guid
public static function GetSourceGuid(
data : IDataObject
) : Guid
Parameters
- data
Type: System.Windows.IDataObject
Return Value
Type: System.Guid
The source guid, or an empty guid is no source guid was present.
.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.