CommentShapeAddRule.ElementAdded Method
Called when a CommentShape is created.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overrides Sub ElementAdded ( _
e As ElementAddedEventArgs _
)
public override void ElementAdded(
ElementAddedEventArgs e
)
public:
virtual void ElementAdded(
ElementAddedEventArgs^ e
) override
abstract ElementAdded :
e:ElementAddedEventArgs -> unit
override ElementAdded :
e:ElementAddedEventArgs -> unit
public override function ElementAdded(
e : ElementAddedEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.ElementAddedEventArgs
Argument to event
.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.