DocData.IgnoreFileChanges Method
Determines whether changes to the document should be ignored.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.