[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Überprüft, ob eine Methode geeignet ist von DNObjects verarbeitet zu werden.

Namespace: DynamicNode.Ext.Objects
Assembly: DNExtObjects (in DNExtObjects.dll) Version: 1.1.4679.19819 (1.1.0.0)

Syntax

C#
public static bool CheckMethod(
	MethodInfo mi,
	bool mustBeStatic,
	out string msg
)
Visual Basic
Public Shared Function CheckMethod ( _
	mi As MethodInfo, _
	mustBeStatic As Boolean, _
	<OutAttribute> ByRef msg As String _
) As Boolean
F#
static member CheckMethod : 
        mi:MethodInfo * 
        mustBeStatic:bool * 
        msg:string byref -> bool 

Parameters

mi
Type: System.Reflection..::..MethodInfo
Ein Methode.
mustBeStatic
Type: System..::..Boolean
Falls true übergeben wird, muss die Methode statisch sein, sonst muss sie dynamisch sein.
msg
Type: System..::..String%
Gibt im Fehlerfall eine Begründung zurück.

Return Value

true, wenn die übergebene Methode geeignet ist, sonst false.

See Also