M_CommandLine_Core_ReflectionExtensions_StaticProperty - adutton/commandline GitHub Wiki

ReflectionExtensions.StaticProperty Method

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

Syntax

C#

public static Object StaticProperty(
	this Type type,
	string name
)

VB

<ExtensionAttribute>
Public Shared Function StaticProperty ( 
	type As Type,
	name As String
) As Object

C++

public:
[ExtensionAttribute]
static Object^ StaticProperty(
	Type^ type, 
	String^ name
)

F#

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

Parameters

 

type
Type: System.Type
name
Type: System.String

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

⚠️ **GitHub.com Fallback** ⚠️