M_CommandLine_Core_ReflectionExtensions_StaticProperty - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static Object StaticProperty(
this Type type,
string name
)VB
<ExtensionAttribute>
Public Shared Function StaticProperty (
type As Type,
name As String
) As ObjectC++
public:
[ExtensionAttribute]
static Object^ StaticProperty(
Type^ type,
String^ name
)F#
[<ExtensionAttribute>]
static member StaticProperty :
type : Type *
name : string -> Object
- type
- Type: System.Type
- name
- Type: System.String
Type: Object
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).