Class RemainderAttribute
标记指定的参数将接收剩余未解析的所有输入值。
[AttributeUsage(AttributeTargets.Parameter)]
public class RemainderAttribute : Attribute
- Inheritance
-
RemainderAttribute
- Inherited Members
Remarks
此特性仅可以标记在命令方法的最后一个参数上。
标记指定的参数将接收剩余未解析的所有输入值。
[AttributeUsage(AttributeTargets.Parameter)]
public class RemainderAttribute : Attribute
此特性仅可以标记在命令方法的最后一个参数上。