Share via


GraphDataObject.GetSourceGuid Method

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: IDataObject

Return Value

Type: Guid
The source guid, or an empty guid is no source guid was present.

.NET Framework Security

See Also

Reference

GraphDataObject Class

Microsoft.VisualStudio.GraphModel Namespace