PublisherCreateDataWriter Method (Topic)
public DataWriter CreateDataWriter( Topic topic )
Public Function CreateDataWriter ( topic As Topic ) As DataWriter
public: DataWriter^ CreateDataWriter( Topic^ topic )
member CreateDataWriter : topic : Topic -> DataWriter
The Topic passed to this operation must have been created from the same DomainParticipant that was used to create this Publisher. If the Topic was created from a different DomainParticipant, the operation will fail and return a result.