Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetDiagramId ( _
elementGroupPrototype As ElementGroupPrototype _
) As Guid
'使用
Dim elementGroupPrototype As ElementGroupPrototype
Dim returnValue As Guid
returnValue = DragSourceContext.GetDiagramId(elementGroupPrototype)
public static Guid GetDiagramId(
ElementGroupPrototype elementGroupPrototype
)
public:
static Guid GetDiagramId(
ElementGroupPrototype^ elementGroupPrototype
)
public static function GetDiagramId(
elementGroupPrototype : ElementGroupPrototype
) : Guid
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Return Value
Type: System.Guid
Permissions
- 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.