ErrorManager.Find Method (String, Object)
Retrieves a list of all DataSchemaError objects that belong to the specified category and document.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function Find ( _
document As String, _
category As Object _
) As IList(Of DataSchemaError)
public IList<DataSchemaError> Find(
string document,
Object category
)
public:
IList<DataSchemaError^>^ Find(
String^ document,
Object^ category
)
member Find :
document:string *
category:Object -> IList<DataSchemaError>
public function Find(
document : String,
category : Object
) : IList<DataSchemaError>
Parameters
- document
Type: System.String
The file name of the document where the error occurred.
- 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.
Return Value
Type: System.Collections.Generic.IList<DataSchemaError>
An IList<T> object that contains one or more DataSchemaError objects.
.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.