Compartir a través de


DocData.IgnoreFileChanges Method

Determines whether changes to the document should be ignored.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Function IgnoreFileChanges ( _
    ignore As Integer _
) As Integer
public int IgnoreFileChanges(
    int ignore
)
public:
virtual int IgnoreFileChanges(
    int ignore
) sealed
abstract IgnoreFileChanges : 
        ignore:int -> int  
override IgnoreFileChanges : 
        ignore:int -> int
public final function IgnoreFileChanges(
    ignore : int
) : int

Parameters

  • ignore
    Type: System.Int32

    true to ignore changes to the document; otherwise, false.

Return Value

Type: System.Int32
S_OK if the method succeeds; otherwise, it returns an error code.

Implements

IVsDocDataFileChangeControl.IgnoreFileChanges(Int32)

Remarks

This method implements the IVsDocDataFileChangeControl interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace