Επεξεργασία

Κοινή χρήση μέσω


ChangeMonitor.UniqueId Property

Definition

Gets a value that represents the ChangeMonitor class instance.

public:
 abstract property System::String ^ UniqueId { System::String ^ get(); };
public abstract string UniqueId { get; }
member this.UniqueId : string
Public MustOverride ReadOnly Property UniqueId As String

Property Value

The identifier for a change-monitor instance.

Remarks

The UniqueId property value typically consists of dependency names combined string data that uniquely identifiers the data that is being monitored by a ChangeMonitor instance. The value of the UniqueId property is a string. The value of the string is used to assign the unique ID of the ChangeMonitor instance.

Notes to Implementers

By overriding the property, you can define a custom implementation for the string value of the property in order to assign it a unique ID.

In derived classes, you must set the value of the property in the constructor.

Applies to