Share via


ErrorManager.UpdateErrorsDocumentName Method

Changes the name of the document in the Document property of all DataSchemaError objects in the Error List window of Visual Studio that belong to the specified category.

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

Syntax

'Declaration
Public Sub UpdateErrorsDocumentName ( _
    oldFileName As String, _
    newFileName As String, _
    category As Object _
)
public void UpdateErrorsDocumentName(
    string oldFileName,
    string newFileName,
    Object category
)
public:
void UpdateErrorsDocumentName(
    String^ oldFileName, 
    String^ newFileName, 
    Object^ category
)
member UpdateErrorsDocumentName : 
        oldFileName:string * 
        newFileName:string * 
        category:Object -> unit 
public function UpdateErrorsDocumentName(
    oldFileName : String, 
    newFileName : String, 
    category : Object
)

Parameters

  • oldFileName
    Type: System.String
    A string that contains the old document file name.
  • newFileName
    Type: System.String
    A string that contains the new document file name.
  • category
    Type: System.Object
    An Object that represents the document type or object type to categorize the error. The internal categories are represented as Guid strings.

.NET Framework Security

See Also

Reference

ErrorManager Class

Microsoft.Data.Schema Namespace