共用方式為


AddErrors 方法 (IEnumerable(Error))

Adds a collection of errors that iterates through the collection of Error objects to treat as warnings.

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Sub AddErrors ( _
    errors As IEnumerable(Of Error) _
)
'用途
Dim instance As Warnings
Dim errors As IEnumerable(Of Error)

instance.AddErrors(errors)
public void AddErrors(
    IEnumerable<Error> errors
)
public:
void AddErrors(
    IEnumerable<Error^>^ errors
)
member AddErrors : 
        errors:IEnumerable<Error> -> unit 
public function AddErrors(
    errors : IEnumerable<Error>
)

參數