共用方式為


DragSourceContext.GetStoreId Method (ElementGroupPrototype)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Shared Function GetStoreId ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Guid
public static Guid GetStoreId(
    ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetStoreId(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetStoreId : 
        elementGroupPrototype:ElementGroupPrototype -> Guid 
public static function GetStoreId(
    elementGroupPrototype : ElementGroupPrototype
) : Guid

Parameters

Return Value

Type: System.Guid

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetStoreId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace