Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetConnectTransactionName ( _
sourceShape As ShapeElement, _
targetShape As ShapeElement _
) As String
'使用
Dim instance As ConnectionType
Dim sourceShape As ShapeElement
Dim targetShape As ShapeElement
Dim returnValue As String
returnValue = instance.GetConnectTransactionName(sourceShape, _
targetShape)
public virtual string GetConnectTransactionName(
ShapeElement sourceShape,
ShapeElement targetShape
)
public:
virtual String^ GetConnectTransactionName(
ShapeElement^ sourceShape,
ShapeElement^ targetShape
)
public function GetConnectTransactionName(
sourceShape : ShapeElement,
targetShape : ShapeElement
) : String
Parameters
- sourceShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.String
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.