Skip to content

M_CommandLine_Core_ReflectionExtensions_StaticMethod

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

ReflectionExtensions.StaticMethod Method

Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static Object StaticMethod(
	this Type type,
	string name,
	params Object[] args
)

VB

<ExtensionAttribute>
Public Shared Function StaticMethod ( 
	type As Type,
	name As String,
	ParamArray args As Object()
) As Object

C++

public:
[ExtensionAttribute]
static Object^ StaticMethod(
	Type^ type, 
	String^ name, 
	... array<Object^>^ args
)

F#

[<ExtensionAttribute>]
static member StaticMethod : 
        type : Type * 
        name : string * 
        args : Object[] -> Object 

Parameters

 

type
Type: System.Type
name
Type: System.String
args
Type: System.Object[]

Return Value

Type: Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

ReflectionExtensions Class
CommandLine.Core Namespace

Clone this wiki locally