ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::IsModified Method ()

 

Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
virtual bool IsModified() override

Return Value

Type: System::Boolean

true if the element has been modified; otherwise, false.

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.

.NET Framework
Available since 3.0
Return to top
Show: