Rhino.NativeFunction.GetLength C# (CSharp) Method

GetLength() public method

public GetLength ( ) : int
return int
		public override int GetLength()
		{
			int paramCount = GetParamCount();
			if (GetLanguageVersion() != Context.VERSION_1_2)
			{
				return paramCount;
			}
			Context cx = Context.GetContext();
			NativeCall activation = ScriptRuntime.FindFunctionActivation(cx, this);
			if (activation == null)
			{
				return paramCount;
			}
			return activation.originalArgs.Length;
		}