共用方式為


GelDependencyObject.IVsUIDataSource.GetShapeIdentifier Method

Microsoft internal use only.

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.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function GetShapeIdentifier ( _
    <OutAttribute> ByRef pGuid As Guid, _
    <OutAttribute> ByRef pdw As UInteger _
) As Integer Implements IVsUIDataSource.GetShapeIdentifier
int IVsUIDataSource.GetShapeIdentifier(
    out Guid pGuid,
    out uint pdw
)

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.

Implements

IVsUIDataSource.GetShapeIdentifier(Guid%, UInt32%)

.NET Framework Security

See Also

Reference

GelDependencyObject Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace