IExtensibleObject(T) Interface
Collapse the table of content
Expand the table of content

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


The type of the extension class.

The IExtensibleObject<T> type exposes the following members.

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

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.


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.

Community Additions

© 2015 Microsoft