This documentation is archived and is not being maintained.

ConnectionPoint.DefaultID Field

Represents a string used to identify the default connection point within a collection of connection points associated with a server control.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public static readonly string DefaultID
public static final String DefaultID
public static final var DefaultID : String
Not applicable.

When a connection point is created, it is possible to specify an ID for the connection point in the source code of a consumer or provider WebPart control, using a ConnectionConsumerAttribute or a ConnectionProviderAttribute attribute. However, when an attribute is added to a connection point in the source code, the ID parameter is optional. If the ID is not specified in the attribute, the DefaultID field provides a string that is used to identify the default connection point.

If multiple connection points are defined in a consumer or provider control, it is necessary to specify an ID for each connection point, so that the connection points can be distinguished when creating connections.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: