EventBindingService.AppendStatements Method
Appends the specified collection of CodeStatement objects to the specified event handler.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Sub AppendStatements ( _
modelEvent As ModelEvent, _
methodName As String, _
statements As CodeStatementCollection _
)
public abstract void AppendStatements(
ModelEvent modelEvent,
string methodName,
CodeStatementCollection statements
)
public:
virtual void AppendStatements(
ModelEvent^ modelEvent,
String^ methodName,
CodeStatementCollection^ statements
) abstract
abstract AppendStatements :
modelEvent:ModelEvent *
methodName:string *
statements:CodeStatementCollection -> unit
public abstract function AppendStatements(
modelEvent : ModelEvent,
methodName : String,
statements : CodeStatementCollection
)
Parameters
- modelEvent
Type: Microsoft.Windows.Design.Model.ModelEvent
The event definition whose handler will have statements added.
- methodName
Type: System.String
The method name of the event handler.
- statements
Type: System.CodeDom.CodeStatementCollection
The collection of CodeStatement objects to append.
.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.
See Also
Reference
Microsoft.Windows.Design.Services Namespace