Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPersistFile::IsDirty Method ()

 

Checks an object for changes since it was last saved to its current file.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

int IsDirty()

Return Value

Type: System::Int32

S_OK if the file has changed since it was last saved; S_FALSE if the file has not changed since it was last saved.

For more information, see the existing documentation for IPersistFile::IsDirty in the MSDN library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft