Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IExtensibleObject<T> Interface

Enables an object to participate in custom behavior, such as registering for events, or watching state transitions.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public interface IExtensibleObject<T>
where T : Object, IExtensibleObject<T>

Type Parameters

T

The type of the extension class.

The IExtensibleObject<T> type exposes the following members.

  NameDescription
Public propertySupported by Silverlight for Windows PhoneExtensionsGets a collection of extension objects for this extensible object.
Top

Implement IExtensibleObject<T> to enable aggregation of extensions. System.ServiceModel.IContextChannel is an extensible object in Silverlight.

For example, if you are implementing a TreeNode class and want to allow external code to add annotations and methods to some instances of TreeNode, you can have TreeNode implement IExtensibleObject<TreeNode>. This enables code that uses TreeNode to add objects that implement IExtensibleObject<TreeNode> to the Extensions collection.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft