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