Export (0) Print
Expand All

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

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft