AddRule.ElementAdded Method
Alerts listeners that a rule has been used.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Overridable Sub ElementAdded ( _
e As ElementAddedEventArgs _
)
public virtual void ElementAdded(
ElementAddedEventArgs e
)
public:
virtual void ElementAdded(
ElementAddedEventArgs^ e
)
abstract ElementAdded :
e:ElementAddedEventArgs -> unit
override ElementAdded :
e:ElementAddedEventArgs -> unit
public function ElementAdded(
e : ElementAddedEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.ElementAddedEventArgs
An ElementAddedEventArgs that contains the event data.
.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.