ConnectionConsumerAttribute.ID Property

Definition

Gets a string that represents the unique identity of the consumer connection point.

C#
public string ID { get; }

Property Value

The unique ID assigned to the consumer connection point. The default value is Empty.

Remarks

If searching through a connection point collection, you should use the ID property to locate a particular connection point. This property can be used to distinguish between two connection points of the same name. Consumer connection points can have the same DisplayName property value, but the ID property must be different.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1