## Action typedef


نوع المندوب الذي يشير إلى طرق لا تُعيد قيمة.

```cpp
using System::Action =  MulticastDelegate<void(Args...)>
```

## ملاحظات



```cpp
#include <system/action.h>

using namespace System;

// الدالة التي تطبع السلسلة المُمرَّرة.
void PrintString(const String &string)
{
  using namespace std;
  cout << string << endl;
}

int main()
{
  // أنشئ مثالًا من Action.
  auto action = Action<String>(std::bind(&PrintString, std::placeholders::_1));

  // استدعِ الإجراء.
  action(u"Hello, world!");

  return 0;
}
/*
This code example produces the following output:
Hello, world!
*/
```

## انظر أيضًا

* Namespace [System](../)
* Library [Aspose.Page for C++](../../)
