disconnect()
Contents
[
Hide
]MulticastDelegate< ReturnType(ArgumentTypes…)>::disconnect(Callback) method
Removes the specified delegate from the delegate collection.
MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::disconnect(Callback callback)
Arguments
Parameter | Type | Description |
---|---|---|
callback | Callback | The delegate to remove from the collection |
Return Value
A reference to the self
MulticastDelegate< ReturnType(ArgumentTypes…)>::disconnect(MemberType ClassType::*, ClassType *) method
Removes the specified non-static method of the specified object from the delegate collection.
template<class MemberType,class ClassType> MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::disconnect(MemberType ClassType::*member, ClassType *obj)
Template parameters
Parameter | Description |
---|---|
MemberType | The type of the non-static method that is to be removed from the delegate collection |
ClassType | The type of the object method of which is to be removed from the delegate collection |
Arguments
Parameter | Type | Description |
---|---|---|
member | MemberType ClassType::* | A pointer to the non-static method of the specified object |
obj | ClassType * | A pointer to an object member method of which is to be removed from the delegate collection |
Return Value
A reference to the self
MulticastDelegate< ReturnType(ArgumentTypes…)>::disconnect(MemberType ClassType::*, const SharedPtr<ClassType>&) method
Removes the specified non-static method of the specified object from the delegate collection.
template<class MemberType,class ClassType> MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::disconnect(MemberType ClassType::*member, const SharedPtr<ClassType> &obj)
Template parameters
Parameter | Description |
---|---|
MemberType | The type of the non-static method that is to be removed from the delegate collection |
ClassType | The type of the object method of which is to be removed from the delegate collection |
Arguments
Parameter | Type | Description |
---|---|---|
member | MemberType ClassType::* | A pointer to the non-static method of the specified object |
obj | const SharedPtr<ClassType>& | A shared pointer to an object member method of which is to be removed from the delegate collection |
Return Value
A reference to the self
MulticastDelegate< ReturnType(ArgumentTypes…)>::disconnect(MulticastDelegate&) method
Removes the specified MulticastDelegate object from the delegate collection.
MulticastDelegate & System::MulticastDelegate<ReturnType(ArgumentTypes...)>::disconnect(MulticastDelegate &other)
Arguments
Parameter | Type | Description |
---|---|---|
other | MulticastDelegate& | An instance of the MulticastDelegate class to remove from the delegate collection |
Return Value
A reference to the self
See Also
- Typedef Callback
- Typedef SharedPtr
- Method MulticastDelegate
- Class MulticastDelegate< ReturnType(ArgumentTypes…)>
- Namespace System
- Library Aspose.Slides