IMethodMessage.Args Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an array of arguments passed to the method.
public:
property cli::array <System::Object ^> ^ Args { cli::array <System::Object ^> ^ get(); };
public object[] Args { get; }
public object[] Args { [System.Security.SecurityCritical] get; }
member this.Args : obj[]
[<get: System.Security.SecurityCritical>]
member this.Args : obj[]
Public ReadOnly Property Args As Object()
Property Value
An Object array containing the arguments passed to the method.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
Remarks
Although the Args property is redundant since the same functionality can be achieved through the ArgCount and GetArg, there might be performance optimization available if the implementer understands when all the arguments will be retrieved.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기