public string GetOperator(OperatorIndex index)
		{
			var result = migemo_get_operator(_migemoObject, index);
			if (result != IntPtr.Zero)
				return Marshal.PtrToStringAnsi(result);
			return "";
		}
示例#2
0
        public string GetOperator(OperatorIndex index)
        {
            var result = migemo_get_operator(_migemoObject, index);

            if (result != IntPtr.Zero)
            {
                return(Marshal.PtrToStringAnsi(result));
            }
            return("");
        }
		public bool SetOperator(OperatorIndex index, string op)
		{
			return migemo_set_operator(_migemoObject, index, op) != 0;
		}
		private static extern IntPtr migemo_get_operator(IntPtr obj,
			OperatorIndex index);
		private static extern int migemo_set_operator(IntPtr obj,
			OperatorIndex index, string op);
示例#6
0
 public bool SetOperator(OperatorIndex index, string op)
 {
     return(migemo_set_operator(this.migemoObject, index, op) != 0);
 }
示例#7
0
 private static extern IntPtr migemo_get_operator(IntPtr obj,
                                                  OperatorIndex index);
示例#8
0
 private static extern int migemo_set_operator(IntPtr obj,
                                               OperatorIndex index, string op);
示例#9
0
 private static extern int MigemoSetOperator(IntPtr migemoObj, OperatorIndex opIndex, [In] string opString);