IPublisherAddSubscription Method |
Register the recipient of events from the SuperOffice application. You must specify which set of events you are interested in receiving.
Namespace:
SuperOffice.COM.EventServer
Assembly:
SOEventServer.Interop (in SOEventServer.Interop.dll) Version: 8.0.0.0
Syntaxint AddSubscription(
Object EventClass,
Object SubscriberInterface,
[OptionalAttribute] Object MethodName
)
Function AddSubscription (
EventClass As Object,
SubscriberInterface As Object,
<OptionalAttribute> MethodName As Object
) As Integer
Dim instance As IPublisher
Dim EventClass As Object
Dim SubscriberInterface As Object
Dim MethodName As Object
Dim returnValue As Integer
returnValue = instance.AddSubscription(EventClass,
SubscriberInterface, MethodName)
int AddSubscription(
[InAttribute] Object^ EventClass,
[InAttribute] Object^ SubscriberInterface,
[OptionalAttribute] [InAttribute] Object^ MethodName
)
Parameters
- EventClass
- Type: SystemObject
- SubscriberInterface
- Type: SystemObject
- MethodName (Optional)
- Type: SystemObject
Return Value
Type:
Int32
See Also