RdtManager.TrySetDocDataDirty Method

Sets the document data as dirty.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)


Public Shared Function TrySetDocDataDirty ( _
    fileName As String, _
    dirty As Boolean _
) As Boolean
Dim fileName As String
Dim dirty As Boolean
Dim returnValue As Boolean

returnValue = RdtManager.TrySetDocDataDirty(fileName, _
public static bool TrySetDocDataDirty(
    string fileName,
    bool dirty
static bool TrySetDocDataDirty(
    String^ fileName, 
    bool dirty
public static function TrySetDocDataDirty(
    fileName : String, 
    dirty : boolean
) : boolean
static member TrySetDocDataDirty : 
        fileName:string * 
        dirty:bool -> bool 


  • fileName
    Type: System.String
    The filename expected to be open and in the RDT
  • dirty
    Type: System.Boolean
    Specifies whether to set the data as dirty

Return Value

Type: System.Boolean
Returns true if the document is in the RDT and successfully set the data as dirty, false otherwise.

.NET Framework Security

See Also


RdtManager Class

RdtManager Members

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace