CommandLine.InvokeMethod 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public static int InvokeMethod(string[] args, System.Reflection.MethodInfo method, string xmlDocsFilePath = default, object target = default, System.IO.TextWriter standardOutput = default, System.IO.TextWriter standardError = default);
static member InvokeMethod : string[] * System.Reflection.MethodInfo * string * obj * System.IO.TextWriter * System.IO.TextWriter -> int
Public Function InvokeMethod (args As String(), method As MethodInfo, Optional xmlDocsFilePath As String = Nothing, Optional target As Object = Nothing, Optional standardOutput As TextWriter = Nothing, Optional standardError As TextWriter = Nothing) As Integer
參數
- args
- String[]
- method
- MethodInfo
- xmlDocsFilePath
- String
- target
- Object
- standardOutput
- TextWriter
- standardError
- TextWriter