IVsUIDataSource.GetShapeIdentifier Method

Returns the shape identifier for this data source. Two data sources with the same shape identifier will have exactly the same properties and verbs.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetShapeIdentifier ( _
    <OutAttribute> ByRef pGuid As Guid, _
    <OutAttribute> ByRef pdw As UInteger _
) As Integer
int GetShapeIdentifier(
    out Guid pGuid,
    out uint pdw
)
int GetShapeIdentifier(
    [OutAttribute] Guid% pGuid, 
    [OutAttribute] unsigned int% pdw
)
abstract GetShapeIdentifier : 
        pGuid:Guid byref * 
        pdw:uint32 byref -> int 
function GetShapeIdentifier(
    pGuid : Guid, 
    pdw : uint
) : int

Parameters

  • pGuid
    Type: System.Guid%
    [in] The globally unique identifier for the shape.
  • pdw
    Type: System.UInt32%
    [out] Location to return the ID for the shape.

Return Value

Type: System.Int32
Returns S_OK if the shape identifier was returned.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace