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
- 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.