共用方式為


IVsUIDataSource.GetShapeIdentifier(Guid, UInt32) Method

Definition

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

public:
 int GetShapeIdentifier([Runtime::InteropServices::Out] Guid % pGuid, [Runtime::InteropServices::Out] System::UInt32 % pdw);
public int GetShapeIdentifier (out Guid pGuid, out uint pdw);
abstract member GetShapeIdentifier : Guid * uint32 -> int
Public Function GetShapeIdentifier (ByRef pGuid As Guid, ByRef pdw As UInteger) As Integer

Parameters

pGuid
Guid

[in] The globally unique identifier for the shape.

pdw
UInt32

[out] Location to return the ID for the shape.

Returns

Returns S_OK if the shape identifier was returned.

Applies to