ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.IsModified Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class.
protected:
override bool IsModified();
protected override bool IsModified ();
override this.IsModified : unit -> bool
Protected Overrides Function IsModified () As Boolean
Returns
true
if the element has been modified; otherwise, false
.
Remarks
This method determines whether this object is written to the configuration file. If the return value is false
, it is assumed that the configuration file represents the current state of the element.
By default, this property returns true
after a property is set through the indexer to this object.
You should override this method to provide custom indication of the state of this element.