System.Runtime.InteropServices.DllImportAttribute' を 空でない本体を持つ Sub Function または Operator に適用することはできません

'System.Runtime.InteropServices.DllImportAttribute' を、空でない本体を持つ Sub、Function または Operator に適用することはできません。
'System.Runtime.InteropServices.DllImportAttribute' を、空でない本体を持つ Sub、Function、または Operator に適用することはできません。