::). This syntax is for the benefit of C++/CLI users. The equivalent C# operator is the dot (
.).'^'
and/or '%'
notation in a number of method prototypes. For example:
void DomainParticipant::set_default_publisher_qos( PublisherQos^ qos); void DomainParticipant::delete_publisher( Publisher^% publisher); void DomainParticipant::get_default_flowcontroller_property( FlowControllerProperty_t% property);
This syntax is for the benefit of C++/CLI users. The '^'
notation indicates a managed pointer. Since managed pointers are implicit in C#, this syntax can be ignored. The '%'
notation is equivalent to the use of the ref
keyword in C#.
The equivalent C# prototypes are therefore the following:
void DomainParticipant.set_default_publisher_qos( PublisherQos qos); void DomainParticipant.delete_publisher( ref Publisher publisher); void DomainParticipant.get_default_flowcontroller_property( ref FlowControllerProperty_t property);
array<Foo>
,
meaning a managed array of element type Foo. This syntax is for the benefit of C++/CLI users. The equivalent syntax in C# is Foo
[].